8000 DOC: tweak example class · matplotlib/matplotlib@bc9385a · GitHub
[go: up one dir, main page]

Skip to content

Commit bc9385a

Browse files
committed
DOC: tweak example class
1 parent 9923a5c commit bc9385a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tutorials/intermediate/blitting.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585

8686
class BlitManager:
8787

88-
def __init__(self, canvas, animated_artists):
88+
def __init__(self, canvas, animated_artists=()):
8989
"""
9090
Parameters
9191
----------
@@ -94,7 +94,7 @@ def __init__(self, canvas, animated_artists):
9494
canvas which have the `~CanvasAgg.copy_from_bbox` and
9595
`~CanvasAgg.restore_region` methods.
9696
97-
animated_artists : Optional[List[Artist]]
97+
animated_artists : Iterable[Artist]
9898
List of the artists to manage
9999
"""
100100
self.canvas = canvas

0 commit comments

Comments
 (0)
0