Re: [Matplotlib-users] matplotlib 0.98.3 release candidate, please test

2008-07-29 Thread John Hunter
On Tue, Jul 29, 2008 at 1:12 PM, John Hunter <[EMAIL PROTECTED]> wrote: > We are in the final stages of preparing a new matplotlib release, and > a lot of work has gone into it. If you would like to test the release > and see if it is working for you, that would be a big help > > http://matplotli

Re: [Matplotlib-users] imshow update norm make my app crash.

2008-07-29 Thread John Hunter
On Tue, Jul 29, 2008 at 6:52 PM, Laurent Dufrechou <[EMAIL PROTECTED]> wrote: > I've applied the idea you've said later about colormap. > > Now I would like on an event to refresh my view so I've written this code: I would like to see what self.low_clutter_val = self.clutter_low.GetPosi

[Matplotlib-users] savefig and animated elements

2008-07-29 Thread Chee Sing Lee
Hi, I am trying to save figures where all the artists have animated = True. The result I get (I have tried svg and png formats) is a set of axes with labels, ticks, and grid, but no data points! I am using the WxAgg backend. Is this something to be expected, and if so, can anyone suggest a workar

[Matplotlib-users] savefig and animated elements

2008-07-29 Thread Chee Sing Lee
Hi, I am trying to save figures where all the artists have animated = True. The result I get (I have tried svg and png formats) is a set of axes with labels, ticks, and grid, but no data points! I am using the WxAgg backend. Is this something to be expected, and if so, can anyone suggest a workar

[Matplotlib-users] imshow update norm make my app crash.

2008-07-29 Thread Laurent Dufrechou
Hi guys, continuing exploring matplotlib capabilities J I've applied the idea you've said later about colormap. Now I would like on an event to refresh my view so I've written this code: . def InitCode(self): . self.norm = plt.Normalize(vmin=0, vmax=255) se

Re: [Matplotlib-users] plotting a contour map from CSV file

2008-07-29 Thread Tim Michelsen
Hello Jeff, I just wanna give feedback on what got me going here: data preparation ### data is loaded from a CSV file ### lats = y # data[:,0] ## lon => x lons = x # data[:,1] ## values => z values = z #data[:,2] ### lat_uniq = list(set(lats.tolist())) nlats = len(lat_uniq) lon_uniq = list(se

Re: [Matplotlib-users] Waterfall Plot?

2008-07-29 Thread Eric Firing
Travis Ruthenburg wrote: > I'm new to matplotlib and was hoping someone could point me in the > right direction for making a waterfall plot, similar to MATLAB's > 'waterfall'. > > I'd like to plot a series of 2-D spectra staggered by time. Travis, I presume you are handling the calculation o

[Matplotlib-users] SVG rendering problems

2008-07-29 Thread Mathieu Leplatre
Hi all, With both matplotlib versions (0.91 and 0.98), my SVGs are rendered correctly in Inkscape (and almost well in Firefox), but they are not rendered correctly when viewed with ImageMagick or Eye-of-Gnome. I did screenshots here, showing this "curve cropping" issue : http://mathieu-leplatre.i

Re: [Matplotlib-users] Waterfall Plot?

2008-07-29 Thread John Hunter
On Tue, Jul 29, 2008 at 1:48 PM, Travis Ruthenburg <[EMAIL PROTECTED]> wrote: > I'm new to matplotlib and was hoping someone could point me in the > right direction for making a waterfall plot, similar to MATLAB's > 'waterfall'. > > I'd like to plot a series of 2-D spectra staggered by time. The s

[Matplotlib-users] Waterfall Plot?

2008-07-29 Thread Travis Ruthenburg
I'm new to matplotlib and was hoping someone could point me in the right direction for making a waterfall plot, similar to MATLAB's 'waterfall'. I'd like to plot a series of 2-D spectra staggered by time. Thanks, Travis ---

Re: [Matplotlib-users] bar plot picker with 0 height data

2008-07-29 Thread John Hunter
On Tue, Jul 29, 2008 at 1:20 PM, Ben Axelrod <[EMAIL PROTECTED]> wrote: > Thanks for the bug fix. Do you think this fix will make it into the 0.98.3 > release? it will. - This SF.Net email is sponsored by the Moblin Your Mo

Re: [Matplotlib-users] bar plot picker with 0 height data

2008-07-29 Thread Ben Axelrod
Thanks for the bug fix. Do you think this fix will make it into the 0.98.3 release? -Original Message- From: John Hunter [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 29, 2008 1:49 PM To: Ben Axelrod Cc: matplotlib-users@lists.sourceforge.net Subject: Re: [Matplotlib-users] bar plot pick

[Matplotlib-users] matplotlib 0.98.3 release candidate, please test

2008-07-29 Thread John Hunter
We are in the final stages of preparing a new matplotlib release, and a lot of work has gone into it. If you would like to test the release and see if it is working for you, that would be a big help http://matplotlib.sourceforge.net/tmp/matplotlib-0.98.3rc2.tar.gz Unfortunately, we do not have

Re: [Matplotlib-users] bar plot picker with 0 height data

2008-07-29 Thread John Hunter
On Tue, Jul 29, 2008 at 12:27 PM, Ben Axelrod <[EMAIL PROTECTED]> wrote: > I get an exception when I set up a bar chart with a picker that has a bar > with 0 height, and I click on the chart. Thanks for the report -- I just committed a fix for this to svn r5922 JDH --

[Matplotlib-users] bar plot picker with 0 height data

2008-07-29 Thread Ben Axelrod
I get an exception when I set up a bar chart with a picker that has a bar with 0 height, and I click on the chart. Code to generate exception: from matplotlib.pyplot import figure, show import numpy as np def onpick1(event): print 'foo' fig = figure() ax = fig.add_subplot(111) xdata = [1,

Re: [Matplotlib-users] text picker

2008-07-29 Thread John Hunter
On Tue, Jul 29, 2008 at 10:55 AM, Ben Axelrod <[EMAIL PROTECTED]> wrote: > Text picking does not seem to work for me anymore since I upgraded from > 0.91.4 to 0.98.1. This is fixed in matplotlib svn and will be out in the next release. -

[Matplotlib-users] text picker

2008-07-29 Thread Ben Axelrod
Text picking does not seem to work for me anymore since I upgraded from 0.91.4 to 0.98.1. These lines should set up the picker. They come straight from "pick_event_demo.py" ax1.set_title('click on points, rectangles or text', picker=True) ax1.set_ylabel('ylabel', picker=True, bbox=dict

Re: [Matplotlib-users] Colormap cluttering?

2008-07-29 Thread Laurent Dufréchou
Hi andrew, eric, Excellent that is exactly what I was looking for :) Laurent > -Message d'origine- > De : Eric Firing [mailto:[EMAIL PROTECTED] > Envoyé : mardi 29 juillet 2008 02:39 > À : Laurent Dufrechou > Cc : matplotlib-users@lists.sourceforge.net > Objet : Re: [Matplotlib-users] Co