Permalink
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...
tonysyu committed Aug 8, 2012
1 parent 3688803 commit 80b32958f7148228445cdf1a093c17e714637e69
Showing with 1 addition and 0 deletions.
  1. +1 −0 mpltools/layout.py
View
@@ -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

0 comments on commit 80b3295

Please sign in to comment.