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

Skip to content

Commit 078e9f0

Browse files
committed
Add missing staticmethod deco to osx backend.
1 parent 969de0a commit 078e9f0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/matplotlib/backends/backend_macosx.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ class _BackendMac(_Backend):
216216
FigureCanvas = FigureCanvasMac
217217
FigureManager = FigureManagerMac
218218

219+
@staticmethod
219220
def trigger_manager_draw(manager):
220221
# For performance reasons, we don't want to redraw the figure after
221222
# each draw command. Instead, we mark the figure as invalid, so that it

0 commit comments

Comments
 (0)