Cannot interact with 3D axis view during Funcanimation animation

I have a question about blitting in the FuncAnimation module of matplotlib.
After running the source code for this example
<http://matplotlib.org/examples/animation/simple_3danim.html> , I was able
to rotate the plot around with my cursor, and the axes followed.

However, simply changing blit=False to blit=True still allowed me to move
the lines around, but the axes stayed fixed. What do I have to change to
allow both blit=True and this movement of the axes?

It's evident that ax.elev changes as I rotate the frame, for example, but
there seems to be the initial view overlaid on the figure, which makes the
axis appear stationary.

My own code is experiencing this problem, so I figured I would sort it out
with the simplified example.

Thanks

···

--
View this message in context: http://matplotlib.1069221.n5.nabble.com/Cannot-interact-with-3D-axis-view-during-Funcanimation-animation-tp46264.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

Blitting fundamentally means "copy the background without any animated
parts and use that bitmap instead of re-rendering it". So, unless the
codebase is set up to re-blit the background every time it changes,
interactivity won't work. We have some real basic support for
panning/zooming in 2D plots while blitting, but that ties into the event
handler. Rotating a 3D plot isn't an explicit event, so we haven't added
blitting support for that yet.

Ben Root

···

On Fri, Oct 2, 2015 at 11:17 AM, isabella <ihuang at veritystudios.com> wrote:

I have a question about blitting in the FuncAnimation module of matplotlib.
After running the source code for this example
<http://matplotlib.org/examples/animation/simple_3danim.html> , I was
able
to rotate the plot around with my cursor, and the axes followed.

However, simply changing blit=False to blit=True still allowed me to move
the lines around, but the axes stayed fixed. What do I have to change to
allow both blit=True and this movement of the axes?

It's evident that ax.elev changes as I rotate the frame, for example, but
there seems to be the initial view overlaid on the figure, which makes the
axis appear stationary.

My own code is experiencing this problem, so I figured I would sort it out
with the simplified example.

Thanks

--
View this message in context:
http://matplotlib.1069221.n5.nabble.com/Cannot-interact-with-3D-axis-view-during-Funcanimation-animation-tp46264.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users at python.org
https://mail.python.org/mailman/listinfo/matplotlib-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20151009/15bd3999/attachment.html>