Has anyone tried using matplotlib+dialogs on wx 2.9.1.1, Cocoa?

Hi all, ran into an issue using matplotib on OSX, Cocoa toolkit, that I haven’t run into anywhere else. Basically, if a dialog is started from an event generated from the canvas, the application freezes.

I went through the code in backend_wx.py, but didn’t see anything there that could cause the problem. The small code that reproduces the problem is attached.

Not sure if this is a wxPython problem or matplotlib problem, but figured I’d throw it out there and see if it also freezes on other people’s platforms.

cocoa.py (1.36 KB)

···


Daniel Hyams
dhyams@…287…

Hi all, ran into an issue using matplotib on OSX, Cocoa toolkit, that I haven’t run into anywhere else. Basically, if a dialog is started from an event generated from the canvas, the application freezes.

I went through the code in backend_wx.py, but didn’t see anything there that could cause the problem. The small code that reproduces the problem is attached.

Not sure if this is a wxPython problem or matplotlib problem, but figured I’d throw it out there and see if it also freezes on other people’s platforms.

Well … here’s what I see:

A figure window opens.

If I right-click on the figure, a dialog appears with a default title in it.

I change the text, click OK,

The dialog closes, but nothing else happens.

But I can move the figure window around, and I can right-click again and repeat the process indefinitely.

Some vital statitstics:

OS X 10.6.5

Python 2.6.6 |EPD 6.3-1 (32-bit)| (r266:84292, Sep 23 2010, 11:52:53)

[GCC 4.0.1 (Apple Inc. build 5488)] on darwin

Type “help”, “copyright”, “credits” or “license” for more information.

import matplotlib

matplotlib.version

‘1.0.0’

import wx

wx.version

‘2.8.10.1’

hth a little,

gary

···

On Sun, Dec 5, 2010 at 6:15 PM, Daniel Hyams <dhyams@…287…> wrote:


Daniel Hyams
dhyams@…287…


What happens now with your Lotus Notes apps - do you make another costly

upgrade, or settle for being marooned without product support? Time to move

off Lotus Notes and onto the cloud with Force.com, apps are easier to build,

use, and manage than apps on traditional platforms. Sign up for the Lotus

Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d


Matplotlib-users mailing list

Matplotlib-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/matplotlib-users