MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / set_animated

Method set_animated

lib/matplotlib/artist.py:1118–1136  ·  view source on GitHub ↗

Set whether the artist is intended to be used in an animation. If True, the artist is excluded from regular drawing of the figure. You have to call `.Figure.draw_artist` / `.Axes.draw_artist` explicitly on the artist. This approach is used to speed up animations

(self, b)

Source from the content-addressed store, hash-verified

1116 self.stale = True
1117
1118 def set_animated(self, b):
1119 """
1120 Set whether the artist is intended to be used in an animation.
1121
1122 If True, the artist is excluded from regular drawing of the figure.
1123 You have to call `.Figure.draw_artist` / `.Axes.draw_artist`
1124 explicitly on the artist. This approach is used to speed up animations
1125 using blitting.
1126
1127 See also `matplotlib.animation` and
1128 :ref:`blitting`.
1129
1130 Parameters
1131 ----------
1132 b : bool
1133 """
1134 if self._animated != b:
1135 self._animated = b
1136 self.pchanged()
1137
1138 def set_in_layout(self, in_layout):
1139 """

Callers 9

pauseMethod · 0.45
resumeMethod · 0.45
_init_drawMethod · 0.45
_init_drawMethod · 0.45
_draw_frameMethod · 0.45
on_pickMethod · 0.45
on_releaseMethod · 0.45
add_artistMethod · 0.45
__init__Method · 0.45

Calls 1

pchangedMethod · 0.95

Tested by

no test coverage detected