Skip to content

Commit

Permalink
Review actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
pelson committed Mar 13, 2013
1 parent b8bc21f commit 6569ca7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 7 additions & 0 deletions doc/users/whats_new.rst
Expand Up @@ -40,6 +40,13 @@ They may be symmetric or weighted.

.. plot:: mpl_examples/pylab_examples/stackplot_demo2.py

Improved ``bbox_inches="tight"`` functionality
----------------------------------------------
Passing ``bbox_inches="tight"`` through to :func:`plt.save` now takes into account
*all* artists on a figure - this was previously not the case and led to several
corner cases which did not function as expected.


Remember save directory
-----------------------
Martin Spacek made the save figure dialog remember the last directory saved
Expand Down
2 changes: 0 additions & 2 deletions lib/matplotlib/backend_bases.py
Expand Up @@ -2099,8 +2099,6 @@ def print_figure(self, filename, dpi=None, facecolor='w', edgecolor='w',
bbox_filtered = []
for a in bbox_artists:
bbox = a.get_window_extent(renderer)
# print('{0:40} - {1.width:5}, {1.height:5} '
# '{1}'.format(type(a), bbox))
if a.get_clip_on():
clip_box = a.get_clip_box()
if clip_box is not None:
Expand Down

0 comments on commit 6569ca7

Please sign in to comment.