Re: [Matplotlib-users] invalid pngs from pylab.savefig on windows

2008-05-16 Thread John Hunter
On Fri, May 16, 2008 at 1:46 PM, Jörgen Stenarson <[EMAIL PROTECTED]> wrote: > Hi, > > with current svn (r5149) I get currupt png files when saving using > pylab.savefig. I'm using the TkAgg backend with no changes to the default > matplotlibrc. It looks like the problem occurs first with r5026. I

Re: [Matplotlib-users] using facecolor='None' for fill on Windows and Fedora

2008-05-16 Thread Eric Firing
Bryan Fodness wrote: > i didn't have 0.92.1, i have 0.91.2 Right, we were both transposing digits. > > [bryan@ ~]$ python > Python 2.5.2 (r252:60911, May 13 2008, 22:14:05) > [GCC 4.1.2 20070502 (Red Hat 4.1.2-12)] on linux2

Re: [Matplotlib-users] Kriging with Matplotlib

2008-05-16 Thread Robert Kern
Leif Oppermann wrote: > Can someone tell me how to do kriging in Matplotlib? > > I have tried the contourf() function with two bivariate_normal() objects > as input which produces similar looking results to what I want to > archive. My data however is geo-referenced and contains > 10 > samp

Re: [Matplotlib-users] using facecolor='None' for fill on Windows and Fedora

2008-05-16 Thread Bryan Fodness
Thanks for your help! I was forcing it to look in an old location with, #!/usr/bin/python as my first line. On Fri, May 16, 2008 at 1:44 PM, Bryan Fodness <[EMAIL PROTECTED]> wrote: > i didn't have 0.92.1, i have 0.91.2 > > [bryan@ ~]$ python > Python 2.5.2 (r252:60911, May 13 2008, 22:

Re: [Matplotlib-users] using facecolor='None' for fill on Windows and Fedora

2008-05-16 Thread Bryan Fodness
i didn't have 0.92.1, i have 0.91.2 [bryan@ ~]$ python Python 2.5.2 (r252:60911, May 13 2008, 22:14:05) [GCC 4.1.2 20070502 (Red Hat 4.1.2-12)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import matplotlib >>> matplotlib.__version__ '0.91.2' >>> import nump

Re: [Matplotlib-users] using facecolor='None' for fill on Windows and Fedora

2008-05-16 Thread Eric Firing
Bryan, It appears that you are not using the mpl version you think you are. When I look at colors.py for 0.92.1, it doesn't match your error message. What do you get when you do, from a python prompt: import matplotlib print matplotlib.__version__ You might try using "locate pylab.py" to find

[Matplotlib-users] Kriging with Matplotlib

2008-05-16 Thread Leif Oppermann
Can someone tell me how to do kriging in Matplotlib? I have tried the contourf() function with two bivariate_normal() objects as input which produces similar looking results to what I want to archive. My data however is geo-referenced and contains > 10 samples. Generating 10 objects doe

[Matplotlib-users] pcolor axis label - chess board

2008-05-16 Thread cyril giraudon
Hi, Given a pcolor figure (about 30 x 30 values) without axis. We can see all cases like a chess board. From two string lists of 30 elements, is it be possible to add a name to all columns and lines. These name would be located at the bottom (for column) and on the left (for line) and in the

Re: [Matplotlib-users] using facecolor='None' for fill on Windows and Fedora

2008-05-16 Thread Bryan Fodness
I have updated to matplotlib 0.92.1 and numpy 1.0.4 and still receive an error. /space/work/Bryan$ ./Check_0.1.py Traceback (most recent call last): File "./Check_0.1.py", line 344, in savefig(outfile) File "/usr/lib/python2.5/site-packages/matplotlib/pylab.py", line 796, in savefig re