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

Skip to content

Commit 387fb64

Browse files
committed
Fix image placement bug introduced in 8585 (reported by JJ)
svn path=/branches/v1_0_maint/; revision=8612
1 parent 6e85989 commit 387fb64

File tree

5 files changed

+408
-1
lines changed

5 files changed

+408
-1
lines changed

lib/matplotlib/image.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,6 @@ def make_image(self, magnification=1.0):
596596
l, b, r, t = self.axes.bbox.extents
597597
widthDisplay = (round(r*magnification) + 0.5) - (round(l*magnification) - 0.5)
598598
heightDisplay = (round(t*magnification) + 0.5) - (round(b*magnification) - 0.5)
599-
im.apply_translation(tx, ty)
600599

601600
# resize viewport to display
602601
rx = widthDisplay / numcols
Binary file not shown.
Loading

0 commit comments

Comments
 (0)