om_code.omplot.augmentdf
om_code.omplot.augmentdf#
- augmentdf(df, datatype)[source]#
Artifically augments dataframe using ‘err’ (if present in the dataframe) to allow Seaborn to generate errors, otherwise returns original dataframe.
Note we call seaborn with ci = “sd” and so use sqrt(3/2) * error because seaborn calculates the standard deviation from the augmented data (the mean, the mean + std, and the mean - std) and so gets std/sqrt(3/2) otherwise because there are three data points.