Merge pull request #10187 from tacaswell/doc_blitting_tutorial · matplotlib/matplotlib@4249e18 · GitHub
Skip to content

Commit 4249e18

Browse files
authored
Merge pull request #10187 from tacaswell/doc_blitting_tutorial
DOC: add a blitting tutorial
2 parents f8e4012 + bb9afe7 commit 4249e18

3 files changed

Lines changed: 226 additions & 1 deletion

File tree

doc/api/animation_api.rst

Lines changed: 1 addition & 1 deletion

lib/matplotlib/backend_bases.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1671,6 +1671,7 @@ class FigureCanvasBase:
16711671

16721672
@cbook._classproperty
16731673
def supports_blit(cls):
1674+
"""If this Canvas sub-class supports blitting."""
16741675
return (hasattr(cls, "copy_from_bbox")
16751676
and hasattr(cls, "restore_region"))
16761677

tutorials/advanced/blitting.py

Lines changed: 224 additions & 0 deletions

0 commit comments

Comments
 (0)