Blitting not working for the osx backend is a long standing issue due to
differences between what is allowed in the different gui frame works.

You have to change the backend via `use` before you import pyplot.  If you
are still getting the error it is likely you tried to change the backend
_after_ pyplot was imported, in which case the `use` command does nothing.

Tom

On Sat, May 30, 2015 at 11:03 PM Peter Rowat <pe...@pelican.ucsd.edu> wrote:

> I’m on OS X, trying to write a multi-slider-controlled animation. If I
> have blit=True in the call to matplotlib.animation,
> I get this message
>
> matplotlib.animation.BackendError: The current backend is 'MacOSX'
> and may go into an infinite loop with blit turned on.  Either
> turn off blit or use an alternate backend, for example, like
> 'TKAgg', using the following prepended to your source code:
>
> import matplotlib
> matplotlib.use('TKAgg’)
> =====
>
> When I make this change  I still get the same error message, whether blit
> is set True or False.
> At least when blit=False the animation runs, which I can live with for the
> moment.
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
------------------------------------------------------------------------------
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to