Error with boxplot() and "infinite" whiskers

The following boxplot raises a warning:

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

/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/axes.py:5487:
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: http://old.nabble.com/Error-with-boxplot()-and-"infinite"-whiskers-tp32677142p32677142.html
Sent from the matplotlib - users mailing list archive at Nabble.com.