[Matplotlib-users] error using LinearSegmentedColormap example from SciPy Cookbook

2010-05-11 Thread Marius 't Hart
Hi all, When creating a new colormap, with a script based on the example given here: http://www.scipy.org/Cookbook/Matplotlib/Show_colormaps When plotting the data, and when adding the colobar, I get this error: In [27]: Exception in Tkinter callback Traceback (most recent call last): File

Re: [Matplotlib-users] Basemap continent colors

2010-05-11 Thread Michael Hearne
Jeff - Thanks. Is there an easy way you know of to detect when there are no continent boundaries? I'm making these maps automatically, and so will not have the luxury of examining them to see where they are. --Mike On May 10, 2010, at 2:57 PM, Jeff Whitaker wrote: On 5/10/10 2:21 PM,

[Matplotlib-users] introducing mpl_toolkits.gridspec

2010-05-11 Thread Jae-Joon Lee
Hi, gridspec is a module that implements matplotlib’s Subplot slightly differently. Current matplotlib’s Subplot only allows a Subplot to occupy a single cell of the n x m grid. gridspec enables a Subplot to occupy multiple cells. http://leejjoon.github.com/mpl_toolkits-gridspec/ The code is

Re: [Matplotlib-users] introducing mpl_toolkits.gridspec

2010-05-11 Thread Ryan May
On Tue, May 11, 2010 at 10:57 AM, Jae-Joon Lee lee.j.j...@gmail.com wrote:  gridspec is a module that implements matplotlib’s Subplot slightly differently. Current matplotlib’s Subplot only allows a Subplot to occupy a single cell of the n x m grid. gridspec enables a Subplot to occupy

Re: [Matplotlib-users] introducing mpl_toolkits.gridspec

2010-05-11 Thread Jae-Joon Lee
On Tue, May 11, 2010 at 12:10 PM, Ryan May rma...@gmail.com wrote: 1) How does this relate to the functionality present in your axes_grid toolkit? axes_grid toolkit is more flexible and is mainly meant to work with axes with images. gridspec is more for normal axes. As a matter of fact, the

Re: [Matplotlib-users] introducing mpl_toolkits.gridspec

2010-05-11 Thread Alan G Isaac
On 5/11/2010 11:57 AM, Jae-Joon Lee wrote: http://leejjoon.github.com/mpl_toolkits-gridspec/ Yea! Thanks! Alan Isaac -- ___ Matplotlib-users mailing list

Re: [Matplotlib-users] introducing mpl_toolkits.gridspec

2010-05-11 Thread Fabrice Silva
Le mardi 11 mai 2010 à 12:39 -0400, Jae-Joon Lee a écrit : 2) Do you plan on checking this into mpl trunk (still as a mpl_toolkit module)? Not at this moment. But, will consider if there is enough interest. +1 --

[Matplotlib-users] path simplify problem

2010-05-11 Thread Lane Brooks
I am seeing a problem with the path.simplify rcParam. When it is enabled, I see spikes in my plots appear and disappear when I resize the plotting window. When it is disabled, this does not happen. Attached are pictures showing the effect. In the first image, there is no spike at x=2559. In

Re: [Matplotlib-users] path simplify problem

2010-05-11 Thread Michael Droettboom
Is this with matplotlib 0.99.1.2, or SVN trunk? 0.99.1.2 has a known bug in the path simplification algorithm. Mike Lane Brooks wrote: I am seeing a problem with the path.simplify rcParam. When it is enabled, I see spikes in my plots appear and disappear when I resize the plotting window.

Re: [Matplotlib-users] path simplify problem

2010-05-11 Thread Lane Brooks
It is version 0.99.1.2. On 05/11/2010 12:54 PM, Michael Droettboom wrote: Is this with matplotlib 0.99.1.2, or SVN trunk? 0.99.1.2 has a known bug in the path simplification algorithm. Mike Lane Brooks wrote: I am seeing a problem with the path.simplify rcParam. When it is enabled, I

[Matplotlib-users] Evaluation of animated oscilloscope in gtk app and weird X error

2010-05-11 Thread Stefan Otte
Hi folks, I just created a tiny prototype of an 'oscilloscope'. I get live data from a robot via UDP. My network class calls the update() of the oscilloscope. The oscilloscope is part of an existing GTK app which runs on an Ubuntu. I have three questions: 1) Since it's my first animation with

Re: [Matplotlib-users] Basemap continent colors

2010-05-11 Thread Jeff Whitaker
On 5/11/10 8:02 AM, Michael Hearne wrote: Jeff - Thanks. Is there an easy way you know of to detect when there are no continent boundaries? I'm making these maps automatically, and so will not have the luxury of examining them to see where they are. --Mike Mike: Unfortunately,

Re: [Matplotlib-users] introducing mpl_toolkits.gridspec

2010-05-11 Thread PHobson
-Original Message- From: Jae-Joon Lee [mailto:lee.j.j...@gmail.com] Sent: Tuesday, May 11, 2010 8:58 AM To: Matplotlib Users Subject: [Matplotlib-users] introducing mpl_toolkits.gridspec Hi, gridspec is a module that implements matplotlib’s Subplot slightly differently.