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 0f726dc

Browse filesBrowse files
committed
Implement draw_idle
1 parent 8a34d46 commit 0f726dc
Copy full SHA for 0f726dc

File tree

Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed

‎lib/matplotlib/backends/backend_macosx.py

Copy file name to clipboardExpand all lines: lib/matplotlib/backends/backend_macosx.py
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,9 @@ def __init__(self, figure):
309309
self.renderer = RendererMac(figure.dpi, width, height)
310310
_macosx.FigureCanvas.__init__(self, width, height)
311311

312+
def draw_idle(self, *args, **kwargs):
313+
self.invalidate()
314+
312315
def resize(self, width, height):
313316
self.renderer.set_width_height(width, height)
314317
dpi = self.figure.dpi

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.