Commit b3e07a0e authored by Luke Campagnola's avatar Luke Campagnola
Browse files

ImageItem fix against a51c30d0

parent fd4ae73b
......@@ -310,8 +310,8 @@ class ImageItem(GraphicsObject):
if self.image is None:
return None,None
if step == 'auto':
step = (np.ceil(self.image.shape[0] / targetSize),
np.ceil(self.image.shape[1] / targetSize))
step = (np.ceil(self.image.shape[0] / targetImageSize),
np.ceil(self.image.shape[1] / targetImageSize))
if np.isscalar(step):
step = (step, step)
stepData = self.image[::step[0], ::step[1]]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment