Skip to content

Commit dea6de9

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

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/matplotlib/backends/backend_macosx.py

+2
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)