Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf6ebf28

Browse files
authored
Merge pull request#10557 from matplotlib/auto-backport-of-pr-10552
Backport PR#10552 on branch v2.2.x
2 parents69e4e89 +1652352 commitf6ebf28

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎lib/matplotlib/figure.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1425,6 +1425,8 @@ def clf(self, keep_observers=False):
14251425
ifnotkeep_observers:
14261426
self._axobservers= []
14271427
self._suptitle=None
1428+
ifself.get_constrained_layout():
1429+
layoutbox.nonetree(self._layoutbox)
14281430
self.stale=True
14291431

14301432
defclear(self,keep_observers=False):

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp