navigation toolbar in wx / OS X

On my OS X machine, the navigation toolbar is not showing up in
backend_wx, though the other widgets (eg axes selector, status bar)
seem to work fine. If anyone has any ideas, please let me know.

JDH

re: nav toolbar
Works for me with my fink build of the latest CVS matplotlib.

On the other hand, I'm still having problems building with fink
out of the box. I'm attaching my latest setupext.py. It includes
a hack to distinguish between vanilla darwin vs finked.

Finally, I've noticed that under WX the GUI thread doesn't
terminate when the close button is pressed.

d

setupext.py (9.68 KB)

Dear Daishi,

I appreciate that you're trying to make life easier for Fink users, but I don't thing the Right Thing on an OS X platform involves automatically determining if a user has Fink installed and then using it. Fink is, to some degree, a different platform than stock OS X, and even if one has Fink installed, it doesn't mean that one wants to build one's Python extensions against it. (Even if one has a subdirectory of /sw in sys.path.)

I would propose one or both of these solutions: 1) a non-automatic "use_fink" flag in the setup(ext) file and/or as a command line switch. 2) building (and maintaining!) a python-matplotlib Fink package.

Cheers!
Andrew

PGP.sig (155 Bytes)

···

On Apr 21, 2004, at 12:12 PM, Daishi Harada wrote:

re: nav toolbar
Works for me with my fink build of the latest CVS matplotlib.

On the other hand, I'm still having problems building with fink
out of the box. I'm attaching my latest setupext.py. It includes
a hack to distinguish between vanilla darwin vs finked.

Finally, I've noticed that under WX the GUI thread doesn't
terminate when the close button is pressed.

d

<setupext.py>

On Apr 20, 2004, at 7:11 PM, John Hunter wrote:

On my OS X machine, the navigation toolbar is not showing up in
backend_wx, though the other widgets (eg axes selector, status bar)
seem to work fine. If anyone has any ideas, please let me know.

JDH

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
matplotlib-devel List Signup and Options

Hi Andrew,

I generally agree; my "fix" is certainly only a hack.
I just sent John privately a slightly less obnoxious
variant that looks at distutils.sysconfig.PREFIX
instead of looking at sys.path.

d

···

On Apr 21, 2004, at 1:58 PM, Andrew Straw wrote:

Dear Daishi,

I appreciate that you're trying to make life easier for Fink users, but
I don't thing the Right Thing on an OS X platform involves
automatically determining if a user has Fink installed and then using
it. Fink is, to some degree, a different platform than stock OS X, and
even if one has Fink installed, it doesn't mean that one wants to build
one's Python extensions against it. (Even if one has a subdirectory of
/sw in sys.path.)

I would propose one or both of these solutions: 1) a non-automatic
"use_fink" flag in the setup(ext) file and/or as a command line switch.
2) building (and maintaining!) a python-matplotlib Fink package.

Cheers!
Andrew

On Apr 21, 2004, at 12:12 PM, Daishi Harada wrote:

re: nav toolbar
Works for me with my fink build of the latest CVS matplotlib.

On the other hand, I'm still having problems building with fink
out of the box. I'm attaching my latest setupext.py. It includes
a hack to distinguish between vanilla darwin vs finked.

Finally, I've noticed that under WX the GUI thread doesn't
terminate when the close button is pressed.

d

<setupext.py>

On Apr 20, 2004, at 7:11 PM, John Hunter wrote:

On my OS X machine, the navigation toolbar is not showing up in
backend_wx, though the other widgets (eg axes selector, status bar)
seem to work fine. If anyone has any ideas, please let me know.

JDH

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
matplotlib-devel List Signup and Options