[Matplotlib-users] boxplot behaviour in an extreme scenario

2015-08-25 Thread chtan
Hi, the outliers in the boxplot do not seem to be drawn in the following extreme scenario: Data Value: 1, Frequency: 5 Data Value: 2, Frequency: 100 Data Value: 3, Frequency: 5 Here, Q1 = Q2 = Q3, so IQR = 0. Data values 1 and 3 are therefore outliers according to the definition in the api

Re: [Matplotlib-users] boxplot behaviour in an extreme scenario

2015-08-27 Thread chtan
Great, thanks! Rgds marcus -- View this message in context: http://matplotlib.1069221.n5.nabble.com/boxplot-behaviour-in-an-extreme-scenario-tp46027p46034.html Sent from the matplotlib - users mailing list archive at Nabble.com.

Re: [Matplotlib-users] boxplot behaviour in an extreme scenario

2015-08-26 Thread chtan
I'm on python 2. I get the same outputs after adding from __future__ import division. -- View this message in context: http://matplotlib.1069221.n5.nabble.com/boxplot-behaviour-in-an-extreme-scenario-tp46027p46031.html Sent from the matplotlib - users mailing list archive at Nabble.com.

Re: [Matplotlib-users] boxplot behaviour in an extreme scenario

2015-08-26 Thread chtan
Uh, now I understand why it's behaving this way. Tx Paul. From the documentation, it seems natural to expect the behaviour to be uniform throughout the meaningful range for IQR. How may I go about searching for the responsible code on my own in situations like this? From the perplexing behaviour