8000 Add note about blitting and zorder in animations (#24137) · matplotlib/matplotlib@94b993a · GitHub
[go: up one dir, main page]

Skip to content

Commit 94b993a

Browse files
oscargustimhoffmQuLogicstory645
authored
Add note about blitting and zorder in animations (#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 28bd24b commit 94b993a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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)
0