Re: [Matplotlib-users] animate histogram

2009-08-08 Thread Alan G Isaac
On 8/8/2009 10:09 AM John Hunter apparently wrote: > Here is the corrected example: Seems perfect! Time to study it. Thanks! Alan -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Sim

Re: [Matplotlib-users] Subaxes

2009-08-08 Thread Gael Varoquaux
On Thu, Aug 06, 2009 at 10:53:13AM -0400, Jae-Joon Lee wrote: > The thread below might be helpful. > http://thread.gmane.org/gmane.comp.python.matplotlib.general/16373 > This will work as far as you keep the aspect="auto". > Also, if you're using matplotlib 0.99rc version, or matplotlib from > s

Re: [Matplotlib-users] animate histogram

2009-08-08 Thread John Hunter
On Sat, Aug 8, 2009 at 9:00 AM, John Hunter wrote: > """ > This example shows how to use a path patch to draw a bunch of > rectangles for an animated histogram > """ Oops, in my last post I have the timer logic wrong because the call is non-blocking so the animation ran too fast -- a rare occurre

Re: [Matplotlib-users] animate histogram

2009-08-08 Thread John Hunter
On Sat, Aug 8, 2009 at 6:17 AM, Kaushik Ghose wrote: > (http://matplotlib.sourceforge.net/api/artist_api.html#matplotlib.patches.Rectangle) > e.g. set_height() to change the rectangles? > > e.g. code > -- > import pylab > x = pylab.rand(20) > h = pylab.hist(x) > h[2][0]

Re: [Matplotlib-users] Using bbox_to_anchor to get the legend off of my graph

2009-08-08 Thread Jae-Joon Lee
The guide is based on mpl 0.99. You may upgrade your mpl, or take a look at the thread below. it is a workaround that will work with older version. -JJ On Fri, Aug 7, 2009 at 8:29 PM, Eliezer, David wrote: > Hi, >     I am graphing several time series together on the same graph, > and so it

Re: [Matplotlib-users] animate histogram

2009-08-08 Thread Kaushik Ghose
Hi Alan, Alan G Isaac wrote: > This is a second plea for help. > http://www.mail-archive.com/matplotlib-users@lists.sourceforge.net/msg12632.html > > I have a figure.Figure embedded in a FigureCanvasTkAgg. > Each iteration, new data are received, > and I want an updated histogram. > > Now I can