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)
| 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 | """ |
no test coverage detected