Re: [matplotlib-devel] Building matplotlib on os x

2009-08-12 Thread Michiel de Hoon
According to this page from Apple: http://developer.apple.com/releasenotes/OpenSource/PerlExtensionsRelNotes/index.html you can use env ARCHFLAGS='-arch i386' python setup.py build I have tried this for 64-bits Python (using '-arch x86_64') and it seems to work fine. --Michiel. --- On Wed, 8

Re: [matplotlib-devel] Color map gamma

2009-08-12 Thread Eric Firing
Reinier Heeres wrote: > Hi all, > > I would like to propose the attached patch to be able to use a gamma > value for color maps. This will make it simple to make your color > scale more 'sensitive' at the bottom or at the top, as can be seen in > the attached example. This could in principle also

Re: [matplotlib-devel] Color map gamma

2009-08-12 Thread Gary Ruben
I think this would be useful. While you're at it, in the attached file I have a function "rescale_cmap" that effectively changes the autoscaling of the colormap to the data by allowing specification of the range limits - I find this useful. You might like to look at this to see if it's worth ge

Re: [matplotlib-devel] Matplotlib-devel Digest, Vol 39, Issue 22

2009-08-12 Thread Uri Laserson
Thanks for the suggestion Jeff. I have been dealing with the same problem. I found the makefile in /Library/Frameworks/Python.framework/Versions/Current/lib/PythonX.Y/config/Makefile from an EPD install. Is this makefile the template used whenever I build a package against python using distutils?

Re: [matplotlib-devel] binary installers for python2.6; libpng segfault, MSVCR90.DLL and mingw

2009-08-12 Thread Josh Hemann
I am new to trying to build matplotlib from svn and believe I am up against the issue described in this thread. That is, building matplotlib on Python 2.6.2/Windows, compiling/linking with MinGW seem to go fine but upon trying to from pylab import * I get (lots of t

Re: [matplotlib-devel] Building matplotlib on os x

2009-08-12 Thread Jeff Whitaker
Michael Hearne wrote: > I apologize for cross-posting - I realized I probably shouldn't have > posted this on the user's list first... > > Hello - I am attempting to build matplotlib from source on os X, and > getting an error about a shared library being the wrong architecture. > The confus

[matplotlib-devel] Building matplotlib on os x

2009-08-12 Thread Michael Hearne
I apologize for cross-posting - I realized I probably shouldn't have posted this on the user's list first... Hello - I am attempting to build matplotlib from source on os X, and getting an error about a shared library being the wrong architecture. The confusing thing is that the call to g++

Re: [matplotlib-devel] mlab cohere_pairs patch

2009-08-12 Thread Ariel Rokem
Hi - scratch that. Only *seems* to be working. Actually it hangs when I run scripts that open figures. I am going to undo all this and forget I ever started down this path. Cheers, Ariel On Wed, Aug 12, 2009 at 11:10 AM, Ariel Rokem wrote: > Hi again - a string of strange things just happened.

Re: [matplotlib-devel] mlab cohere_pairs patch

2009-08-12 Thread Ariel Rokem
Hi again - a string of strange things just happened. After this recent chain of failures, I decided to try to do some random attempts at making this work. First, I ran 'sudo python setup.py install' in the directory into which I had checked out the mpl source. After going through all of the above,

Re: [matplotlib-devel] mlab cohere_pairs patch

2009-08-12 Thread Ariel Rokem
Hi Fernando and John, regardless of the clunky way in which I was trying to introduce our patch, I still want to be able to build MPL from source on my machine. It is a distraction, but, hey, it's a distraction on top of a distraction on top of a distraction, so at this point, I might as well be d

[matplotlib-devel] symlog only handles linthresh >= 1

2009-08-12 Thread Uri Laserson
Hi everyone, This is my first posting on matplotlib-devel. I have only picked up python and MPL a year ago for some bioinformatics stuff and I love it. I have never been involved in contributing to an open-source project but I would love to help. I have only basic understanding of tools like sv

Re: [matplotlib-devel] ginput default mouse configuration

2009-08-12 Thread Jack Sankey
Hi John, Now I remember why I never figured out how to contribute. I don't have a Visual Studio 2003 compiler (only 2008 is available from microsoft any more) and I don't have time to figure out all the flags and so on to compile. I do have Mingw32 but no jumbling of ["python.exe", "setup.py", "ins

[matplotlib-devel] kwdoc processing with decorators

2009-08-12 Thread John Hunter
Those of you with an interest in mpl docstring processing may want to comment on this tracker item https://sourceforge.net/tracker/index.php?func=detail&aid=2835685&group_id=80706&atid=560720 JDH -- Let Crystal Reports h

Re: [matplotlib-devel] mlab cohere_pairs patch

2009-08-12 Thread John Hunter
On Wed, Aug 12, 2009 at 2:26 AM, Fernando Perez wrote: > By the way John, in this particular case, I don't think the change > warrants a before/after example, because the before case is "it > doesn't run" :)  The code today makes calls to Numeric routines like > typecode() that simply don't exist

Re: [matplotlib-devel] mlab cohere_pairs patch

2009-08-12 Thread Fernando Perez
On Tue, Aug 11, 2009 at 7:29 PM, Ariel Rokem wrote: > ASR:matplotlib arokem$ make build_os105 > make: *** No rule to make target `build_os105'.  Stop. Typo: John said: make build_osx105 Note the extra 'x'. By the way John, in this particular case, I don't think the change warrants a before/a