From: Benjamin R. <ben...@ou...> - 2011-01-05 16:45:12
|
On Wed, Jan 5, 2011 at 10:41 AM, John Hunter <jd...@gm...> wrote: > > > On Wed, Jan 5, 2011 at 10:38 AM, John Hunter <jd...@gm...> 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. > > Hmmm, let me check it out... I hope it wasn't one of my patches that did it.... Ben Root |