Skip to content

Commit dbb4e04

Browse 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

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)