Norbert Nemec <[EMAIL PROTECTED]> writes: > Thanks for the hint. I just fixed the problem in SVN.
I thought I had fixed this in March... see http://thread.gmane.org/gmane.comp.python.matplotlib.devel/2574 But that was the get_handles() in legend.py, while this one is in axes.py. Probably the code was originally copied from one place to the other, but the functions have diverged since: one copy has had this bug fixed, the other has been extended to handle RegularPolyCollections. Perhaps get_handles() should be promoted from internal function to a method of Axes? Also, if someone were interested in creating a unit test suite for matplotlib, a good way to start could be to identify the intended types of member variables (e.g. "list of Line2D objects"), run various example scripts and check that the variables have the correct kind of data. -- Jouni K. Seppänen http://www.iki.fi/jks ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users