Using
x = [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10,-10]
matplotlib.pyplot.boxplot(x)
Where the whiskers are invisible at -10 and 10. The definition according to the documentation however states that the whiskers are at Q1-1.5 * IQR and at Q1+1.5 * IQR. Shouldn't they be at 0 then, too?
Is this a bug, or did I misunderstand something about box plots?