SourceForge logo
SourceForge logo
Menu

matplotlib-devel

From: Eike W. <eik...@gm...> - 2007年09月23日 00:08:29
Hi all!
The QT backend (backend_qt.py) does not enter QT's event loop when 
multiple figures were created. It works fine with a single figure 
though. 
I have tested this with Suse Linux 10.2.
matplotlib.__version__ : 0.90.1
I have attached a little test program that illustrates the bug: When 
this program is run, two windows will appear for a split second, and 
the program finishes immediately.
When lines 10 and 11 are commented out, the program works as expected: 
One window with a figure appears, and the program finishes when the 
window is closed. 
The attached patch fixes this bug. It is against the current HEAD in 
trunk. 
>From reading the code, the exact same fix should be done in the QT4 
backend.
Regards,
Eike.
From: Eike W. <eik...@gm...> - 2007年09月23日 21:26:02
Attachments: backend_qt.diff
Sorry, I've sent a corrupted patch. This one should work.
Regards,
Eike.
From: Darren D. <dd...@co...> - 2007年09月24日 12:59:52
On Saturday 22 September 2007 08:06:56 pm Eike Welk wrote:
> Hi all!
>
> The QT backend (backend_qt.py) does not enter QT's event loop when
> multiple figures were created. It works fine with a single figure
> though.
>
> I have tested this with Suse Linux 10.2.
> matplotlib.__version__ : 0.90.1
>
> I have attached a little test program that illustrates the bug: When
> this program is run, two windows will appear for a split second, and
> the program finishes immediately.
> When lines 10 and 11 are commented out, the program works as expected:
> One window with a figure appears, and the program finishes when the
> window is closed.
>
> The attached patch fixes this bug. It is against the current HEAD in
> trunk.
>
> >From reading the code, the exact same fix should be done in the QT4
>
> backend.
Thank you for the report and for solving the problem. I applied your fix to 
backend_qt and backend_qt4 in svn-3879.
Darren
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 によって変換されたページ (->オリジナル) /