Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

ENH: Disable autoscaling in figimage.

The purpose of figimage is to fill the figure, so plotting elements in the axes shouldn't be able to rescale the axes automatically.
  • Loading branch information...
commit 80b32958f7148228445cdf1a093c17e714637e69 1 parent 3688803
@tonysyu authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  mpltools/layout.py
View
1  mpltools/layout.py
@@ -111,6 +111,7 @@ def figimage(img, scale=1, dpi=None):
ax.set_axis_off()
ax.imshow(img)
+ ax.autoscale(enable=False)
return fig, ax
Please sign in to comment.
Something went wrong with that request. Please try again.