Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbc9385a

Browse files
committed
DOC: tweak example class
1 parent9923a5c commitbc9385a

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
classBlitManager:
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)

[8]ページ先頭

©2009-2025 Movatter.jp