Skip to content

Commit 3d2bbe3

Browse files
Backport PR #24137: Add note about blitting and zorder in animations (#24146)
Co-authored-by: Oscar Gustafsson <oscar.gustafsson@gmail.com>
1 parent 4c594b2 commit 3d2bbe3

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)