Re: [Matplotlib-users] Can I update symbol positions and colors in a collection?

2008-07-17 Thread John Hunter
On Thu, Jul 17, 2008 at 10:28 PM, Ryan May <[EMAIL PROTECTED]> wrote: > I helped Eric out with this offline, and obviously set_array is for the > colors, but the only solution we could come up with was to directly > reset the PolyCollection._offsets member. This seems a little hacky. > Is there a

Re: [Matplotlib-users] Can I update symbol positions and colors in a collection?

2008-07-17 Thread Ryan May
Eric Bruning wrote: > I have scatterplots on several axes that are dynamically updated, and > thus I need to keep track of each of the PolyCollection artists that > represent the scattered data. I would like to keep the same > PolyCollection object but update the positions, colors, etc. of the > sy

Re: [Matplotlib-users] ploting a contour graph from data files

2008-07-17 Thread Ryan May
Michael Droettboom wrote: > Oz Nahum wrote: >> I am mostly frustrated with documentation writers who write very nice >> tutorials describing how to plot completely unusfull graphs of spheres >> inside loops and a dolphin swimming in the middle. > I'm sorry. I just couldn't resist writing a tutor

Re: [Matplotlib-users] difference between plot and scatter

2008-07-17 Thread John Hunter
On Thu, Jul 17, 2008 at 2:35 PM, Ben Axelrod <[EMAIL PROTECTED]> wrote: > It seems that axes.plot() handles 'None' values in the input arrays > gracefully by just not plotting that point. But axes.scatter() bugs out. > Can this be fixed? We try to support np.nan and np masked arrays to handle mis

[Matplotlib-users] difference between plot and scatter

2008-07-17 Thread Ben Axelrod
It seems that axes.plot() handles 'None' values in the input arrays gracefully by just not plotting that point. But axes.scatter() bugs out. Can this be fixed? Thanks, -Ben - This SF.Net email is sponsored by the Moblin You

Re: [Matplotlib-users] small scatter plot color bug

2008-07-17 Thread John Hunter
On Thu, Jul 17, 2008 at 1:53 PM, Ben Axelrod <[EMAIL PROTECTED]> wrote: > It seems like this should be possible: > > > > ax.scatter(x, y, c=None) Just use plot(x, y, 'o') or whatever marker you want, and set the markersize. scatter is meant for plots where either the marker size or marker color v

[Matplotlib-users] small scatter plot color bug

2008-07-17 Thread Ben Axelrod
It seems like this should be possible: ax.scatter(x, y, c=None) but axes chokes on the c=None parameter. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based application

Re: [Matplotlib-users] twinx memory leak

2008-07-17 Thread John Hunter
On Thu, Jul 17, 2008 at 12:42 PM, Michael Droettboom <[EMAIL PROTECTED]> wrote: > Anyone have any thoughts on this? It seems like it's serious enough to try > to resolve before the next bugfix release. I think what we are seeing here is the known GUI figure canvas leak (Michael, I think our offli

Re: [Matplotlib-users] twinx memory leak

2008-07-17 Thread Michael Droettboom
Anyone have any thoughts on this? It seems like it's serious enough to try to resolve before the next bugfix release. Cheers, Mike Michael Droettboom wrote: > Yes, it should be. I'm further puzzled that removing "del > Gcf.figs[num]" prevents the memory leak. There is some side effect that

Re: [Matplotlib-users] ocean profile

2008-07-17 Thread John Hunter
On Wed, Jul 16, 2008 at 6:59 PM, Alan G Isaac <[EMAIL PROTECTED]> wrote: > I assume you know of Robert Kern's code? > http://cours-info.iut-bm.univ-fcomte.fr/docs/python/scipy/scipy.sandbox.delaunay-module.html> I was aware of the project but always assumed he was relying on some GPL/LGPL code si

Re: [Matplotlib-users] Error when running multiple jobs utilizing the Tex utilities in matplotlib

2008-07-17 Thread Darren Dale
On Wednesday 16 July 2008 07:20:59 am Ian Harry wrote: > [EMAIL PROTECTED] 07:14 AM matplotlib]$ diff texmanager.py > /usr/lib64/python2.4/site-packages/matplotlib/texmanager.py > 248c248 > < fh = file(outfile,'a') > --- > > > fh = file(outfile) > > 252,254c252 > <

Re: [Matplotlib-users] import pylab produces rounding error

2008-07-17 Thread John Hunter
On Thu, Jul 17, 2008 at 1:22 AM, Angela Rivera Campos <[EMAIL PROTECTED]> wrote: > Well, I can assure you that I am neither working as root, I might be a > newbie to matplotlib but not to linux, nor have any problem with the > display. This problem is happening in both machines, remote (ssh -X, fo

Re: [Matplotlib-users] ocean profile

2008-07-17 Thread Tim Michelsen
> I'd love to see it included to -- I believe the problem is finding a > good code that is BSD compatible. Yes. Some examples on plotting data using spatial interpolation would be very nice. One with the delauny package: see below at: http://scipy.org/scipy/scikits/ And one with griddata: http