Skip to content

Commit ee1946e

Browse files
committed
Fix missing call to FigureCanvasBase.resize_event which caused resize_events to not work in MacOSX backend (fix suggested by @mdehoon)
1 parent ce75801 commit ee1946e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/matplotlib/backends/backend_macosx.py

+1
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,7 @@ def resize(self, width, height):
323323
width /= dpi
324324
height /= dpi
325325
self.figure.set_size_inches(width, height)
326+
FigureCanvasBase.resize_event(self)
326327

327328
def _print_bitmap(self, filename, *args, **kwargs):
328329
# In backend_bases.py, print_figure changes the dpi of the figure.

0 commit comments

Comments
 (0)