Re: [Matplotlib-users] py4science OSX installation problems

2008-04-23 Thread Joshua Lippai
Alternatively, if you're only building this for your own use and not for packaging a Universal Binary you want PowerPC users to be able to use, you could simply eliminate the ppc arch flags in the Makefile inside /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/config/ On Mon, Apr

Re: [Matplotlib-users] py4science OSX installation problems

2008-04-23 Thread George Nurser
On 23/04/2008, Joshua Lippai [EMAIL PROTECTED] wrote: Alternatively, if you're only building this for your own use and not for packaging a Universal Binary you want PowerPC users to be able to use, you could simply eliminate the ppc arch flags in the Makefile inside

[Matplotlib-users] BUG: python exists when savefig(None) is called

2008-04-23 Thread John Reid
I'm on Windows with python 2.5. How do I find the version of matplotlib? I think it is fairly recent (within last 6 months anyhow). Shouldn't an error be raised? See: C:\Dev\MyProjects\Bio\hmm\pythonpython Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)] on win32

Re: [Matplotlib-users] BUG: python exists when savefig(None) is called

2008-04-23 Thread Matthias Michler
Hi John, On Wednesday 23 April 2008 12:28:11 John Reid wrote: I'm on Windows with python 2.5. How do I find the version of matplotlib? I think it is fairly recent (within last 6 months anyhow). import matplotlib print matplotlib.__version__ Shouldn't an error be raised? On my Kubuntu 7.10

[Matplotlib-users] 'plot' broken on latest svn

2008-04-23 Thread Antonio Gonzalez
Hello, I've just updated to the latest svn (5063) and now I cannot create a simple plot. If I just try (in ipython -pylab): plot(rand(10)) I get: type 'exceptions.AttributeError': 'module' object has no attribute 'masked_invalid' The complete traceback is pasted below. (My numpy version is

Re: [Matplotlib-users] win32 build error in _path.cpp: 'numeric_limits' : is not a member of 'std'

2008-04-23 Thread Michael Droettboom
It doesn't appear to exist in VS2008 -- at least I can't find it in the online docs. Maybe someone else can enlighten me. In the meantime, I just wrote my own round function and switched to use that. Please update from SVN and let me know how it goes. And again, thank you for your patience.

Re: [Matplotlib-users] BUG: python exists when savefig(None) is called

2008-04-23 Thread Kaushik Ghose
Matthias Michler wrote: Hi John, On Wednesday 23 April 2008 12:28:11 John Reid wrote: I'm on Windows with python 2.5. How do I find the version of matplotlib? I think it is fairly recent (within last 6 months anyhow). import matplotlib print matplotlib.__version__ John, thanks for

Re: [Matplotlib-users] BUG: python exists when savefig(None) is called

2008-04-23 Thread John Reid
So I have: In [2]: import matplotlib; print matplotlib.__version__ 0.90.1 Why does pylab not have __version__? So I guess it was fixed between 0.90.1 and 0.91.2 Thanks, John. - This SF.net email is sponsored by the 2008

Re: [Matplotlib-users] BUG: python exists when savefig(None) is called

2008-04-23 Thread Matthias Michler
Hello John, On Wednesday 23 April 2008 15:24:30 John Reid wrote: So I have: In [2]: import matplotlib; print matplotlib.__version__ 0.90.1 Why does pylab not have __version__? I'm not an expert, but the pylab.__doc__ states This is a procedural interface to the matplotlib

Re: [Matplotlib-users] BUG: python exists when savefig(None) is called

2008-04-23 Thread Matthias Michler
[sorry for so many mails] On Wednesday 23 April 2008 15:54:42 Matthias Michler wrote: Hello John, On Wednesday 23 April 2008 15:24:30 John Reid wrote: So I have: In [2]: import matplotlib; print matplotlib.__version__ 0.90.1 I just found a PC with Debian etch and matplotlib 0.90.1

[Matplotlib-users] failed to save in 'eps' format when I use latex environment

2008-04-23 Thread Yong-Duk Jin
I'm using matplotlib 0.9.12 from ubuntu hardy 8.04. To take advantage of the LaTeX handling capability in matplotlib, I've added next two lines in /etc/matplotlib text.usetex : True text.latex.preamble : \usepackage{amsmath} Then, I tried next test code. from pylab import * x = []; y

Re: [Matplotlib-users] 'plot' broken on latest svn

2008-04-23 Thread Eric Firing
Antonio, Thanks for the report. It should be fixed now. Numpy svn has masked_invalid, so my earlier change worked for me, and I forgot that ma.masked_invalid is a new addition (and a nice one). Eric Antonio Gonzalez wrote: Hello, I've just updated to the latest svn (5063) and now I

Re: [Matplotlib-users] 'plot' broken on latest svn

2008-04-23 Thread John Hunter
On Wed, Apr 23, 2008 at 6:45 AM, Antonio Gonzalez [EMAIL PROTECTED] wrote: Hello, I've just updated to the latest svn (5063) and now I cannot create a simple plot. If I just try (in ipython -pylab): plot(rand(10)) I get: type 'exceptions.AttributeError': 'module' object has no

Re: [Matplotlib-users] AssertionError On ax.draw_artist() ????

2008-04-23 Thread John Hunter
On Sat, Apr 19, 2008 at 11:23 PM, hjc520070 [EMAIL PROTECTED] wrote: I work matplotlib on wxpython, python2.5. It is wonderful that the following code work faster than canvas.draw(). canvas.restore_region(background) ##Updata three lines and draw it.

Re: [Matplotlib-users] Custom Pie-Like Marker In Scatter

2008-04-23 Thread John Hunter
On Fri, Apr 18, 2008 at 2:49 AM, Manuel Metz [EMAIL PROTECTED] wrote: as you already suggested, you have to do a little hand-work, but its not too hard. I attached an example, which you can use as a starting point... Hey Manuel -- very cool example. I added this example to the svn trunk

Re: [Matplotlib-users] legend is not properly drawn when a plot is saved in 'pdf' format

2008-04-23 Thread Michael Droettboom
This bug seems to be Cairo-backend specific. The Python PDF backend seems to work fine. Most likely a problem in the Cairo backend and not Cairo itself, but I haven't dug any further. Cheers, Mike Joshua Lippai wrote: I just tested it on OS X using the wxAgg backend, and it appears to be

[Matplotlib-users] draw() doesn't always force draw on qt4?

2008-04-23 Thread Glen W. Mabey
Hello, I'm using today's svn source and I'm surprised that the following loop does not get redrawn 10 times. for it in range( 10 ): plot( arange( it ) ) draw() raw_input(); That is, within a 'ipython -pylab' session. Is this really a question for the ipython folks? Or am

[Matplotlib-users] problems installing matplotlib on RHEL5 with easy_install

2008-04-23 Thread Michael Hearne
I'm experimenting with installing a full python/numpy/scipy/matplotlib etc. suite on a RedHat Enterprise 5 system, and trying to document what would be the simplest procedure to accomplish each step. I managed to install numpy using easy_install, but when I tried to install matplotlib using

[Matplotlib-users] problem with dynamic subplots and wx

2008-04-23 Thread Brian Blais
Hello, I just upgraded a number of things on my Mac OS X (Tiger) machine, including to the latest version of wx and matplotlib. I found that there is a bug in the display of dynamic plots with subplots. If I change the subplot line in the examples/dynamic_demo_wx.py to: a =

Re: [Matplotlib-users] failed to save in 'eps' format when I use latex environment

2008-04-23 Thread Darren Dale
On Wednesday 23 April 2008 11:35:36 am Yong-Duk Jin wrote: I'm using matplotlib 0.9.12 from ubuntu hardy 8.04. To take advantage of the LaTeX handling capability in matplotlib, I've added next two lines in /etc/matplotlib text.usetex : True text.latex.preamble :

Re: [Matplotlib-users] problem with dynamic subplots and wx

2008-04-23 Thread Brian Blais
On Apr 23, 2008, at Apr 23:6:56 PM, Brian Blais wrote: On Apr 23, 2008, at Apr 23:4:33 PM, Brian Blais wrote: I just upgraded a number of things on my Mac OS X (Tiger) machine, including to the latest version of wx and matplotlib. I found that there is a bug in the display of dynamic

[Matplotlib-users] How do you static link to freetype when building eggs?

2008-04-23 Thread Chris
I've had an ongoing problem building eggs of matplotlib that are statically linked to freetype. I thought I had it nailed, but evidently I do not. Here is my script: export CFLAGS=-arch i386 -I/Developer/src/libpng -I/Developer/src/freetype/include export LDFLAGS=-arch i386

Re: [Matplotlib-users] problem with dynamic subplots and wx

2008-04-23 Thread Joshua Lippai
I'm using SVN matplotlib and wxPython 2.8.7.1, and I'm not running into the problem. Though I may be interpreting your problem incorrectly. I've attached a screen capture of the window that opens up when I run your program. Josh On Wed, Apr 23, 2008 at 5:33 PM, Brian Blais [EMAIL PROTECTED]

Re: [Matplotlib-users] problem with dynamic subplots and wx

2008-04-23 Thread Joshua Lippai
I should note that I'm doing this on OS X 10.5.2, but I don't imagine Tiger would have a problem Leopard doesn't have. Josh On Wed, Apr 23, 2008 at 6:16 PM, Joshua Lippai [EMAIL PROTECTED] wrote: I'm using SVN matplotlib and wxPython 2.8.7.1, and I'm not running into the problem. Though I may

Re: [Matplotlib-users] problem with dynamic subplots and wx

2008-04-23 Thread Brian Blais
On Apr 23, 2008, at Apr 23:9:17 PM, Joshua Lippai wrote:I should note that I'm doing this on OS X 10.5.2, but I don't imagineTiger would have a problem Leopard doesn't have.you do indeed have the problem.  If you change the subplot(211) to subplot(111) you'll see the proper plot (a sine wave).