You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The minimum value is correctly shown by the bottom whisker "protruding into the box", up from the bottom of it to the level 0 - the horizontal minimum indicator just happens to blend into the box, as it's the same color.
What's not correct is the box itself. Since this plot only works from statistics (and histograms), the exact distribution of the collected values is not stored: it's assumed to be a normal one, with the measured mean and standard deviation. This is why the (estimated) IQR can be outside of the (real) min/max range.
Yes, this is an approximation, and can produce artifacts like the above case. The alternative would be to compute the distribution in place, from all values recorded into a vector, as mentioned in #1200.
Yes, this is an approximation, and can produce artifacts like the above case. The alternative would be to compute the distribution in place, from all values recorded into a vector, as mentioned in #1200.
I tried using the code mentioned in #1200, but I still have this issue. What do you mean by "compute the distribution in place"?
What do you mean by "compute the distribution in place"?
Sorry, to be more precise: I meant computing the 25th and 75th percentiles accurately, using the actual set of data points (in a vector); instead of estimating them from the mean and standard deviation, assuming the nature of the distribution to be normal.
Unfortunately, utils.plot_boxwhiskers is currently hard-coded to do the latter...
EDIT: You could, however, take a look inside of it, and call utils.customized_box_plot directly, with the input values set up as needed.
Platform
Describe the bug
Even if the minimum value is zero, it looks like it's less from the graph. (See the orange candlestick)
To Reproduce
Printing any histogram using the box and whiskers plot.
Code: (box and whiskers plot default template)
Output:
The text was updated successfully, but these errors were encountered: