SourceForge.net: matplotlib: Modify: 2973874 - Text box, Save dialog for mac

https://sourceforge.net/tracker/?func=detail&aid=2973874&group_id=80706&atid=560720

Would someone with a Mac please look at this bug and say whether it is occurring with our release of mpl? If not, I will close the ticket.

Thank you.

Eric

Hi,

···

On Sat, Oct 9, 2010 at 7:30 PM, Eric Firing <efiring@...229...> wrote:

https://sourceforge.net/tracker/?func=detail&aid=2973874&group_id=80706&atid=560720

Would someone with a Mac please look at this bug and say whether it is
occurring with our release of mpl? If not, I will close the ticket.

Not for me (python.org 2.6 32 bit, mpl 1.0.0) with the macosx backend
or the tkagg backend. I don't have a 64 bit python / matplotlib to
test with - maybe that's the trick? Or maybe it was for a different
backend?

Best,

Matthew

Works fine on my system: python 2.6 64 bit (system install), mpl svn r8726 with macosx, tkagg, and qt4agg.

Best,
-Tony

···

On Oct 9, 2010, at 10:46 PM, Matthew Brett wrote:

Hi,

On Sat, Oct 9, 2010 at 7:30 PM, Eric Firing <efiring@...229...> wrote:

https://sourceforge.net/tracker/?func=detail&aid=2973874&group_id=80706&atid=560720

Would someone with a Mac please look at this bug and say whether it is
occurring with our release of mpl? If not, I will close the ticket.

Not for me (python.org 2.6 32 bit, mpl 1.0.0) with the macosx backend
or the tkagg backend. I don't have a 64 bit python / matplotlib to
test with - maybe that's the trick? Or maybe it was for a different
backend?

Best,

Matthew

The problem described in that bug report sounds similar to what happens if Python was not installed as a framework. The Mac OS X backend checks for that automatically, but the other backends do not as far as I know. If this is indeed the problem, we should consider checking this when importing matplotlib. I believe

import sysconfig
sysconfig.get_config_var("WITH_NEXT_FRAMEWORK")

should do the job.

--Michiel.

···

--- On Sat, 10/9/10, Eric Firing <efiring@...229...> wrote:

From: Eric Firing <efiring@...229...>
Subject: [matplotlib-devel] SourceForge.net: matplotlib: Modify: 2973874 - Text box, Save dialog for mac
To: "matplotlib development list" <matplotlib-devel@lists.sourceforge.net>
Date: Saturday, October 9, 2010, 10:30 PM
https://sourceforge.net/tracker/?func=detail&aid=2973874&group_id=80706&atid=560720

Would someone with a Mac please look at this bug and say
whether it is
occurring with our release of mpl? If not, I will
close the ticket.

Thank you.

Eric

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9
supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and
DOM L2 & L3.
Spend less time writing and rewriting code and more
time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
matplotlib-devel List Signup and Options

The problem described in that bug report sounds similar to what happens if Python was not installed as a framework. The Mac OS X backend checks for that automatically, but the other backends do not as far as I know. If this is indeed the problem, we should consider checking this when importing matplotlib. I believe

import sysconfig
sysconfig.get_config_var("WITH_NEXT_FRAMEWORK")

should do the job.

--Michiel.

Michiel,

Thanks to you, Tony, and Matthew for your quick responses. I am going to close the ticket.

Do you know anything about how Enthought packages their python and mpl for the Mac? Would it be as a framework?

If you think there is something that really should be fixed for the Mac to prevent future problems, and if it can be fixed without creating more problems, please do so. Your suggestion above could be implemented in the svn trunk, at your discretion. I'm not going to do it because I don't understand it and can't test it.

Eric

···

On 10/09/2010 06:43 PM, Michiel de Hoon wrote:

--- On Sat, 10/9/10, Eric Firing<efiring@...229...> wrote:

From: Eric Firing<efiring@...229...>
Subject: [matplotlib-devel] SourceForge.net: matplotlib: Modify: 2973874 - Text box, Save dialog for mac
To: "matplotlib development list"<matplotlib-devel@lists.sourceforge.net>
Date: Saturday, October 9, 2010, 10:30 PM
https://sourceforge.net/tracker/?func=detail&aid=2973874&group_id=80706&atid=560720

Would someone with a Mac please look at this bug and say
whether it is
occurring with our release of mpl? If not, I will
close the ticket.

Thank you.

Eric

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9
supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and
DOM L2& L3.
Spend less time writing and rewriting code and more
time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
matplotlib-devel List Signup and Options

Do you know anything about how Enthought packages their
python and mpl for the Mac? Would it be as a framework?

Sorry, no idea. I haven't used the Enthought packages.

If you think there is something that really should be fixed
for the Mac to prevent future problems, and if it can be
fixed without creating more problems, please do so. Your
suggestion above could be implemented in the svn trunk, at
your discretion. I'm not going to do it because I
don't understand it and can't test it.

I think it's possible, but I would like to hear from people who ran into this problem if Python not being a framework install is really the cause. It may also be that enthought packages an older version of matplotlib, which doesn't check for framework installs. If that is the case, then from a matplotlib perspective the problem has been fixed already.

--Michiel.

···

--- On Sun, 10/10/10, Eric Firing <efiring@...229...> wrote: