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 dea6de9

Browse filesBrowse files
tacaswellmeeseeksmachine
authored andcommitted
Backport PR #27955: Add a draw during show for macos backend
1 parent 8f1698f commit dea6de9
Copy full SHA for dea6de9

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.