Sorry for this very very reply. The error message is now fixed in the git master branch.
Regards, -JJ On Fri, May 20, 2011 at 12:31 PM, Steve Ward <plane...@gmail.com> wrote: > In legend.__init__ the exception message doesn't match the condition > that raises it. I think it should say "numpoints must be > 0". I'm > using matplotlib version 0.99.3. > > Example: > #---------------------------- > import matplotlib.pyplot as plt > ax = plt.subplot(1,1,1) > ax.plot(1.1, 2.2, label='foo') > ax.legend(numpoints=0) > #---------------------------- > # ValueError: numpoints must be >= 0; it was 0 > > > Steve > > ------------------------------------------------------------------------------ > What Every C/C++ and Fortran developer Should Know! > Read this article and learn how Intel has extended the reach of its > next-generation tools to help Windows* and Linux* C/C++ and Fortran > developers boost performance applications - including clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > Matplotlib-devel mailing list > Matplotlib-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel > ------------------------------------------------------------------------------ 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel