[Matplotlib-users] Cannot interact with 3D axis view during Funcanimation animation
ben.v.root at gmail.com
Fri Oct 9 16:02:00 CEST 2015
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.
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
> 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.
> View this message in context:
> Sent from the matplotlib - users mailing list archive at Nabble.com.
> Matplotlib-users mailing list
> Matplotlib-users at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Matplotlib-users