SourceForge logo
SourceForge logo
Menu

matplotlib-devel

From: Pierre R. <co...@py...> - 2008年06月30日 10:25:45
Hi all,
I'm posting to report the following bug in 'backend_qt4.py', class
'NavigationToolbar2QT' l. 309 :
When using Qt4 as default backend, if you type 'plot(x,y)' and then
'close()', you'll obtain an attribute error because 'NavigationToolbar2QT'
has no 'toolitem' attribute (see line 310). I think that 'toolitem' was used
in the previous Qt4 backend implementation.
To make things work, I simply removed this 'destroy' method which is
probably deprecated.
Regards,
Pierre Raybaut
From: Darren D. <dsd...@gm...> - 2008年06月30日 13:25:02
Hi Pierre,
On Monday 30 June 2008 06:25:42 am Pierre Raybaut wrote:
> Hi all,
>
> I'm posting to report the following bug in 'backend_qt4.py', class
> 'NavigationToolbar2QT' l. 309 :
>
> When using Qt4 as default backend, if you type 'plot(x,y)' and then
> 'close()', you'll obtain an attribute error because 'NavigationToolbar2QT'
> has no 'toolitem' attribute (see line 310). I think that 'toolitem' was
> used in the previous Qt4 backend implementation.
>
> To make things work, I simply removed this 'destroy' method which is
> probably deprecated.
Thank you for the report. This is fixed in svn.
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 によって変換されたページ (->オリジナル) /