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 6d9a65a

Browse filesBrowse files
committed
Make OSX's blit() have a consistent signature with other backends.
FigureCanvasBase.blit documents blit() as defaulting bbox to the whole figure, and all backends implement it as such... except, until now, MacOSX. Fix the inconsistency.
1 parent 50b0e16 commit 6d9a65a
Copy full SHA for 6d9a65a

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎lib/matplotlib/backends/backend_macosx.py

Copy file name to clipboardExpand all lines: lib/matplotlib/backends/backend_macosx.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def draw(self):
8888
def draw_idle(self, *args, **kwargs):
8989
self.invalidate()
9090

91-
def blit(self, bbox):
91+
def blit(self, bbox=None):
9292
self.invalidate()
9393

9494
def resize(self, width, height):

0 commit comments

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