Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commitee1946e

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 parentce75801 commitee1946e

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
@@ -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)

[8]ページ先頭

©2009-2025 Movatter.jp