[Matplotlib-users] Colormaps

2010-03-13 Thread David Arnold
All, I am having difficulty with a line on: http://scipy.org/LoktaVolterraTutorial Here are the lines: values = linspace(0.3, 0.9, 5) vcolors = p.cm.autumn_r(linspace(0.3, 1., len(values))) First of all, I can find no reference to autumn_r in the Matplotlib documentation. Also, using Aptana

Re: [Matplotlib-users] Plotting data from serial stream

2010-03-13 Thread Brian Zambrano
I've done this successfully with both the Qt4 and WX Agg backends. The part you care about is the update method. Here's the snippet I use for Qt. It shouldn't change except for your imports at the top if you're using Wx. Note, I've trimmed this down a bit, so hopefully I didn't trim out anythin

Re: [Matplotlib-users] Re move, mask, or hide parts of a polygon?

2010-03-13 Thread Jae-Joon Lee
On Fri, Mar 12, 2010 at 7:45 AM, othererik wrote: > Here's a short example that does the opposite of what I'm looking for.   The > goal is to take a the polygon "poly_patch" and "cut" regions out of it. > All I've managed to achieve so far has been to show regions of the > "poly_patch". > With cl

Re: [Matplotlib-users] Contour with locator=FixedLocator(...) drops first and last contours from the list.

2010-03-13 Thread Eric Firing
David Smith wrote: > This is a bug report. > > I am using matplotlib 0.99.1 on Windows. When using contour with the > keyword > argument locator=ticker.FixedLocator(levels), the plot is always > dropping the first > and last contour level. If there are less than 3 levels, contour.py > throws

Re: [Matplotlib-users] vlines with no padding

2010-03-13 Thread Jae-Joon Lee
On Fri, Mar 12, 2010 at 11:11 AM, jdidion wrote: > but I > can't figure out how to make this happen, other than to use a really fat > line width (which I would prefer not to do) What other way do you have in mind? I don't see any. By the way, why not just use histogram? Regards, -JJ --