Line 157 of image.py, there is a typo:
Index: matplotlib/image.py
···
===================================================================
--- matplotlib/image.py (revision 8036)
+++ matplotlib/image.py (working copy)
@@ -144,7 +144,7 @@
sy = dyintv/viewlim.height
numrows, numcols = A.shape[:2]
if sx > 2:
- x0 = (viewim.x0-xmin)/dxintv * numcols
+ x0 = (viewlim.x0-xmin)/dxintv * numcols
ix0 = max(0, int(x0 - self._filterrad))
x1 = (viewlim.x1-xmin)/dxintv * numcols
ix1 = min(numcols, int(x1 + self._filterrad))
Could someone with check in rights fix this in SVN, please.
Cheers,
Gaël