Can't get interative to work

Hi,

somehow I don't manage to set up matplotlib such that I can draw
animations. I've been using the moving sin example from

   http://www.scipy.org/Cookbook/Matplotlib/Animations

which spits out nicely moving sin-waves on one machine, but does
nothing on the other. I'm puzzled. Checked pylab.isinteractive() which
is TRUE.

Any hints?

Cheers,
Nico

Hi Nico,

I'm not sure, but one reason could be different backends. What kind of backend
are you using on the 2 machines?

import matplotlib.pyplot as plt
print plt.get_backend()

( and what version of matplotlib
   import matplotlib
   print matplotlib.__version__
)

In case the backends are different, you can select you favorite backend by
calling e.g.
matplotlib.use("TKAgg")
before import pyplot or pylab.

Kind regards,
Matthias

···

On Thursday 14 January 2010 14:45:42 Nico Schlömer wrote:

Hi,

somehow I don't manage to set up matplotlib such that I can draw
animations. I've been using the moving sin example from

   http://www.scipy.org/Cookbook/Matplotlib/Animations

which spits out nicely moving sin-waves on one machine, but does
nothing on the other. I'm puzzled. Checked pylab.isinteractive() which
is TRUE.

Any hints?

Cheers,
Nico

---------------------------------------------------------------------------
--- Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for
Conference attendees to learn about information security's most important
issues through interactions with peers, luminaries and emerging and
established companies. http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

I'm not sure, but one reason could be different backends. What kind of backend
are you using on the 2 machines?

It was indeed a backend issue, fixed now. Thanks!
--Nico