Problems "animated" plot


John Hunter <jdhunter@...4...> writes:

    > However, the datalim seems so implicitly include
    > zero. For example, if min(y_values) is 3, I still
    > see the point of origin. How can I avoid this
    > behaviour?

We're just doing what we're told here :slight_smile:

Your first plot call is

  y_values = total_number_values * [0.0]
  line, = plot(x_values, y_values)

So zero is *explicitly* included. The datalim remember the
history of objects have have been added. If you want them to
ignore their history, call

ax.dataLim.update_numerix(x_values, y_values, True)

Thank you, this problem is solved.

I had a look at, mostly because I hoped that it solved
another issue, which it doesn't:

Again Windows, again TkAgg (although WXAgg shows the same
behaviour). The window with the animated plot has an hour glass
mouse pointer all the time (this is not the bad thing), and it
cannot be brought in front of the other windows. Even if I minimize
all other windows, only the being-updated part of the plot window is
intact, whereas the rest contains patches of the minimized windows.

Can one do something about it?



Torsten Bronger, aquisgrana, europa vetus