Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f06a5e commit f48ef81Copy full SHA for f48ef81
1 file changed
lib/matplotlib/image.py
@@ -170,7 +170,7 @@ def make_image(self, magnification=1.0):
170
171
if self._imcache is None:
172
if self._A.dtype == np.uint8 and len(self._A.shape) == 3:
173
- im = _image.frombyte(self._A[xslice,yslice,:], 0)
+ im = _image.frombyte(self._A[yslice,xslice,:], 0)
174
im.is_grayscale = False
175
else:
176
if self._rgbacache is None:
0 commit comments