When plotting columns of a dataframe with pandas, e.g.
df.boxplot()
the automatic adjustment of the yaxis
can lead to a large amount of unused space in the plot. I wonder if this is because the dataframe has points that exceed the boxplot whiskers (but for some reason the outliers aren't displayed). If that is the case, what would be a good way to automatically adjust ylim
so that there isn't so much empty space in the plot?