Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e0a38c6 + dea6de9 commit dbb4e04Copy full SHA for dbb4e04
1 file changed
lib/matplotlib/backends/backend_macosx.py
@@ -179,6 +179,8 @@ def start_main_loop(cls):
179
_macosx.show()
180
181
def show(self):
182
+ if self.canvas.figure.stale:
183
+ self.canvas.draw_idle()
184
if not self._shown:
185
self._show()
186
self._shown = True
0 commit comments