SourceForge logo
SourceForge logo
Menu

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

From: Benjamin R. <ben...@ou...> - 2011年01月05日 16:58:17
On Wed, Jan 5, 2011 at 10:44 AM, Benjamin Root <ben...@ou...> wrote:
> 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
>
>
I initially had problems (although with the gtkagg backend...), but then I
moved my development branch build to another directory to effectively hide
it and then rebuilt the 1.0.1 branch, and everything worked fine. Maybe
there was something in the build process that got messed up?
Ben Root

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 によって変換されたページ (->オリジナル) /