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
{{ message }}
Repository navigation
legend()'s numpoints parameter does not allow the value zero #176
The numpoints parameter does not allow the value of zero. I think it should be possible to have a legend with no point markers, but even if you disagree, there is still a bug.
Lines 251-252 in legend.py are:
if self.numpoints <= 0:
raise ValueError("numpoints must be >= 0; it was %d"% numpoints)
Either the code needs to be fixed to allow the value of zero or the error message needs to be fixed to say ">= 1"
Activity
leejjoon commentedon Jul 21, 2011
I consider this as a bug in documentation. This is fixed in the master branch w/ a commit of 7352a1d.