On Mon, Oct 20, 2008 at 6:57 AM, Jakub Urban <[EMAIL PROTECTED]> wrote:

> C:\Python25\lib\site-packages\matplotlib\legend.pyc in
> _update_positions(self, r
> enderer)
>     521                 ydata = y*np.ones(handle.get_xdata().shape, float)
>     522                 handle.set_ydata(ydata+h/2.)
> --> 523                 handle._legmarker.set_ydata(ydata+h/2.)
>     524             elif isinstance(handle, Rectangle):
>     525                 handle.set_y(y+1/4*h)
>
> AttributeError: 'Line2D' object has no attribute '_legmarker'

I'm prettu sure this is fixed in svn.  If you don't have access to a
svn build, edit

  C:\Python25\lib\site-packages\matplotlib\legend.py

and replace line 523 with

                if hasattr(handle, '_legmarker'):
                    handle._legmarker.set_ydata(ydata+h/2.)

Hope this helps,
JDH

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to