Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 069526a

Browse files
committed
Enable dynamic updating for the OS X backend
1 parent 93e00df commit 069526a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/matplotlib/backends/backend_macosx.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -487,6 +487,9 @@ def prepare_configure_subplots(self):
487487
def set_message(self, message):
488488
_macosx.NavigationToolbar2.set_message(self, message.encode('utf-8'))
489489

490+
def dynamic_update(self):
491+
self.canvas.draw_idle()
492+
490493
########################################################################
491494
#
492495
# Now just provide the standard names that backend.__init__ is expecting

0 commit comments

Comments
 (0)