SourceForge logo
SourceForge logo
Menu

Re: [matplotlib-devel] all 3d examples broken on branch

From: John H. <jd...@gm...> - 2011年01月05日 16:41:55
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.

View entire thread

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /