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

Skip to content

Get proper renderer width and height in FigureImage #9204

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Sep 24, 2017
Prev Previous commit
Next Next commit
Fixed mis-edited _base.py
  • Loading branch information
jklymak committed Sep 20, 2017
commit 1a23a5ac2f47a8cdefaf74c0791a8c8973569a6f
2 changes: 0 additions & 2 deletions lib/matplotlib/axes/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1356,7 +1356,6 @@ def apply_aspect(self, position=None):
Use :meth:`_aspect` and :meth:`_adjustable` to modify the
axes box or the view limits.
"""
print('Apply Aspect')
if position is None:
position = self.get_position(original=True)

Expand Down Expand Up @@ -1407,7 +1406,6 @@ def apply_aspect(self, position=None):
pb = position.frozen()
pb1 = pb.shrunk_to_aspect(box_aspect, pb, fig_aspect)
self.set_position(pb1.anchored(self.get_anchor(), pb), 'active')
print('self.gwet_positions', self.get_position(), self._position)
return

# reset active to original in case it had been changed
Expand Down