Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't move matplotlib windows on Mac #107

Closed
guyer opened this issue Sep 19, 2014 · 3 comments
Closed

Can't move matplotlib windows on Mac #107

guyer opened this issue Sep 19, 2014 · 3 comments

Comments

@guyer
Copy link
Member

guyer commented Sep 19, 2014

Matplotlib doesn't (easily?) support moving the windows around while a simulation is running on a Mac. Other platforms don't have a problem. pythonw and ipython don't seem to help this. Maybe we need to create our own event loop? http://matplotlib.sourceforge.net/faq.html#FREEZE may be relevant.

Imported from trac ticket #122, created by guyer on 03-05-2007 at 17:55, last modified: 12-19-2008 at 22:41

@guyer
Copy link
Member Author

guyer commented Sep 19, 2014

Note, by "Mac", I mean a Mac. fink is not a Mac.

Trac comment by guyer on 03-21-2007 at 10:58

@guyer
Copy link
Member Author

guyer commented Sep 19, 2014

[http://matplotlib.svn.sourceforge.net/viewvc/matplotlib/trunk/matplotlib/examples/animation/dynamic_image_wxagg.py?revision=HEAD&view=markup dynamic_image_wxagg.py] and [http://matplotlib.svn.sourceforge.net/viewvc/matplotlib/trunk/matplotlib/examples/animation/dynamic_image_wxagg2.py?revision=HEAD&view=markup dynamic_image_wxagg2.py] look promising, although they require the viewer to run on the main thread and the calculation to run in the background (a common requirement for this sort of thing). Not clear what the simplest way is to implement this in FiPy.

Trac comment by guyer on 07-03-2008 at 10:24

@guyer
Copy link
Member Author

guyer commented Sep 19, 2014

Upgrade matplotlib to at least 0.98.4 and use set the backend to "MacOSX". In theory, the "CocoaAgg" works, too, but I've never gotten it to work (and others report problems, too).

Trac comment by guyer on 12-19-2008 at 22:41

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants