Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f107207 commit fbd4764Copy full SHA for fbd4764
lib/matplotlib/figure.py
@@ -1209,11 +1209,11 @@ def clf(self, keep_observers=False):
1209
self._suptitle = None
1210
self.stale = True
1211
1212
- def clear(self):
+ def clear(self, keep_observers=False):
1213
"""
1214
Clear the figure -- synonym for :meth:`clf`.
1215
1216
- self.clf()
+ self.clf(keep_observers=keep_observers)
1217
1218
@allow_rasterization
1219
def draw(self, renderer):
0 commit comments