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

Appearance settings

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
get proper renderer width and height in FigureImage
  • Loading branch information
jklymak committed Sep 19, 2017
commit 22091d6a1a0e286608e11e0206893afb22ef5512
2 changes: 1 addition & 1 deletion 2 lib/matplotlib/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -1128,7 +1128,7 @@ def make_image(self, renderer, magnification=1.0, unsampled=False):

return self._make_image(
self._A, bbox, bbox, clip, magnification=magnification / fac,
unsampled=False, round_to_pixel_border=False)
unsampled=unsampled, round_to_pixel_border=False)

def set_data(self, A):
"""Set the image array."""
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.