Skip to content

Commit

Permalink
API: forward figure resize to the manager
Browse files Browse the repository at this point in the history
  • Loading branch information
tacaswell authored and mdboom committed Nov 16, 2015
1 parent 9fe9eae commit 1e0dca6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions doc/users/whats_new/behavior_changes.rst
@@ -0,0 +1,7 @@
Changes to default behavior
---------------------------

In matplotlib version 2.0, a number of changes were made to default behavior.

- After calling `figure.set_size_inches()` on a figure displayed in a
GUI window, the window is automatically resized.
2 changes: 1 addition & 1 deletion lib/matplotlib/figure.py
Expand Up @@ -667,7 +667,7 @@ def figimage(self, X,
self.stale = True
return im

def set_size_inches(self, w, h=None, forward=False):
def set_size_inches(self, w, h=None, forward=True):
"""
set_size_inches(w,h, forward=False)
Expand Down

0 comments on commit 1e0dca6

Please sign in to comment.