On Wed, Jan 5, 2011 at 10:38 AM, John Hunter <jdh2...@gmail.com> wrote:

>
> I tried the naive fix in lines.py
>
>     def set_axes(self, ax):
>         Artist.set_axes(self, ax)
>         if getattr(ax, 'xaxis', None):
>             self._xcid = ax.xaxis.callbacks.connect('units',
> self.recache_always)
>         if getattr(ax, 'yaxis', None) is not None:
>             self._ycid = ax.yaxis.callbacks.connect('units',
> self.recache_always)
>     set_axes.__doc__ = Artist.set_axes.__doc__
>
>

Oops, type in my naieve fix.  Should read

    def set_axes(self, ax):
        Artist.set_axes(self, ax)
        if getattr(ax, 'xaxis', None) is not None:
            self._xcid = ax.xaxis.callbacks.connect('units',
self.recache_always)
        if getattr(ax, 'yaxis', None) is not None:
            self._ycid = ax.yaxis.callbacks.connect('units',
self.recache_always)
    set_axes.__doc__ = Artist.set_axes.__doc__

but the problem remains.
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to