Error with boxplot() and "infinite" whiskers

The following boxplot raises a warning:

boxplot([1], whis=float('inf'))

RuntimeWarning: invalid value encountered in double_scalars
聽聽hi_val = q3 + whis*iq

I think that it would be nice if it did not, so that users know that things
are fine, in this case. :slight_smile:


View this message in context:"infinite"-whiskers-tp32677142p32677142.html
Sent from the matplotlib - users mailing list archive at