Re: [Matplotlib-users] Axises autoscaling in animated plot

2010-07-23 Thread Benjamin Root
On Fri, Jul 23, 2010 at 3:18 AM, aliko wrote: > Although the curves now are fitting in the box, the axes data does not > updated and freezes at some initial values. I'm also reworked example in > order to use two Y axises one to the left and one at the right. And the > second plot attached to the

Re: [Matplotlib-users] Axises autoscaling in animated plot

2010-07-23 Thread aliko
Although the curves now are fitting in the box, the axes data does not updated and freezes at some initial values. I'm also reworked example in order to use two Y axises one to the left and one at the right. And the second plot attached to the right axis is not autoscaled as the first does. Tho

Re: [Matplotlib-users] Axises autoscaling in animated plot

2010-07-23 Thread aliko
> The problem here is probably with the blitting. You make a copy of the > background before plotting the data. Before you plot the data, the axes > have no clue what's its limits are supposed to be. In your example, it > won't know until you do the plotting. Then when you restore the > ba

Re: [Matplotlib-users] Axises autoscaling in animated plot

2010-07-22 Thread Benjamin Root
On Thu, Jul 22, 2010 at 3:30 AM, aliko wrote: > Could please anyone help me to get axises autoscaling in following > example? I took it from the examples and slightly modified it to remove > all unecessary things trying to make it as short as possible. > > Thanks in advance! > > import sys > > fr

[Matplotlib-users] Axises autoscaling in animated plot

2010-07-22 Thread aliko
Could please anyone help me to get axises autoscaling in following example? I took it from the examples and slightly modified it to remove all unecessary things trying to make it as short as possible. Thanks in advance! import sys from matplotlib.figure import Figure from matplotlib.backends.b