8000 ENH : add stale flag to Axes.cla · matplotlib/matplotlib@05f6426 · GitHub
[go: up one dir, main page]

Skip to content

Commit 05f6426

Browse files
committed
ENH : add stale flag to Axes.cla
Set stale after clearing (just to be safe)
1 parent 8112b43 commit 05f6426

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/matplotlib/axes/_base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -973,6 +973,7 @@ def cla(self):
973973
if self._sharey:
974974
self.yaxis.set_visible(yaxis_visible)
975975
self.patch.set_visible(patch_visible)
976+
self.stale = True
976977

977978
def clear(self):
978979
"""clear the axes"""

0 commit comments

Comments
 (0)
0