8000 Make OSX's blit() have a consistent signature with other backends. · matplotlib/matplotlib@6d9a65a · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit 6d9a65a

Browse 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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/backends/backend_macosx.py

Lines 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