Skip to content

Commit bad91af

Browse files
oscargustimhoffmQuLogicstory645
authored andcommitted
Add note about blitting and zorder in animations (matplotlib#24137)
* Add note about blitting and zorder in animations Co-authored-by: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com> Co-authored-by: Elliott Sales de Andrade <quantum.analyst@gmail.com> Co-authored-by: hannah <story645@gmail.com>
1 parent 442d637 commit bad91af

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

doc/api/animation_api.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,11 @@ this hopefully minimalist example gives a sense of how ``init_func``
9797
and ``func`` are used inside of `FuncAnimation` and the theory of how
9898
'blitting' works.
9999

100+
.. note::
101+
102+
The zorder of artists is not taken into account when 'blitting'
103+
because the 'blitted' artists are always drawn on top.
104+
100105
The expected signature on ``func`` and ``init_func`` is very simple to
101106
keep `FuncAnimation` out of your book keeping and plotting logic, but
102107
this means that the callable objects you pass in must know what

0 commit comments

Comments
 (0)