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

Appearance settings

Commit dbb4e04

Browse filesBrowse files
authored
Merge pull request #28015 from meeseeksmachine/auto-backport-of-pr-27955-on-v3.8.x
Backport PR #27955 on branch v3.8.x (Add a draw during show for macos backend)
2 parents e0a38c6 + dea6de9 commit dbb4e04
Copy full SHA for dbb4e04

File tree

1 file changed

+2
-0
lines changed
Filter options

1 file changed

+2
-0
lines changed

‎lib/matplotlib/backends/backend_macosx.py

Copy file name to clipboardExpand all lines: lib/matplotlib/backends/backend_macosx.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,8 @@ def start_main_loop(cls):
179179
_macosx.show()
180180

181181
def show(self):
182+
if self.canvas.figure.stale:
183+
self.canvas.draw_idle()
182184
if not self._shown:
183185
self._show()
184186
self._shown = True

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.