depictr.outlier_plot#
- depictr.outlier_plot(data, x, title=None)#
Box plot of one variable with outliers flagged in the accent colour.
Points beyond 1.5 times the interquartile range from the nearest quartile, the usual Tukey rule the box plot’s whiskers already use, are drawn on top in the accent colour. The box itself suppresses its own outlier markers so they are not drawn twice.
- Parameters:
data (pandas.DataFrame) – The data.
x (str) – Name of the numeric column to inspect.
title (str, optional) – Plot title.
- Return type:
plotnine.ggplot