matplotlib-users@lists.sourceforge.net

2012-01-16 Thread Michael Cracraft
I prepared some plots for a conference paper using pcolormesh. The plots need to work both for color and for a b&w print copy. Does anyone have a goto color map for that sort of occassion? I was using YlGrBu, but I'm just not happy with it. Thanks, Michael --

[Matplotlib-users] Using a picture as a legend label

2013-06-12 Thread Michael Cracraft
A typical plot for me includes some simple line curves and a legend attempting to describe what apparatus that curve belongs to. Often the labels I give seem clear to me at the time, but even returning a month later to the plot, I'll be as lost as the next guy. A few of my colleagues have been pl

[Matplotlib-users] Issue with Redrawing a Line (numpy.ndarray, set_ydata, and draw)

2010-10-06 Thread Michael Cracraft
I have a code that continuously modifies a numpy.ndarray variable. Then, I use set_ydata on the matplotlib.lines.Line2D object to the same ndarray variable. Then, I call fig.canvas.draw() to redraw the figure, where fig is Figure object. However, the line on the graph never changes. I print a f

Re: [Matplotlib-users] Issue with Redrawing a Line (numpy.ndarray, set_ydata, and draw)

2010-10-06 Thread Michael Cracraft
, Benjamin Root wrote: > On Wed, Oct 6, 2010 at 1:06 PM, Michael Cracraft < > michael.cracr...@gmail.com> wrote: > >> I have a code that continuously modifies a numpy.ndarray variable. Then, >> I use set_ydata on the matplotlib.lines.Line2D object to the same ndarray

Re: [Matplotlib-users] Issue with Redrawing a Line (numpy.ndarray, set_ydata, and draw)

2010-10-06 Thread Michael Cracraft
0) and this is a > known issues, which has been fixed. > > > http://sourceforge.net/tracker/?func=detail&aid=2917758&group_id=80706&atid=560720 > > Try to add > > L1.recache() > > after set_ydata. > > Regards, > > -JJ > > > > On T