[Matplotlib-users] update axis numbers in animation with blitting

Ryan May rmay31 at gmail.com
Thu Jul 6 14:24:58 EDT 2017


On Thu, Jul 6, 2017 at 11:11 AM, David J Pine <djpine at gmail.com> wrote:

> In the MPL animation example animate_decay.py (
> https://matplotlib.org/2.0.2/examples/animation/animate_decay.html), the
> x-axis numbers update when the plot dynamically rescales the x-axis, but
> this only works properly with blitting turned off.  Is there simple a way
> to update the x-axis labels when blitting is turned on?
>

David,

Not easily, no. More importantly, if you're redrawing tick labels, you're
really eliminating the performance boost blitting.

Ryan

-- 
Ryan May
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20170706/7e789750/attachment.html>


More information about the Matplotlib-users mailing list