if not data.ndim == self._ndim:
warnings.warn(
f"Got wrong number of dimensions ({data.ndim}) for vispy "
f"visual of type {type(self._visual)}.",
stacklevel=2,
)
return
to the vispy image handle... but I suspect it's indicative of something that needs to be handled higher up, in the stack viewer itself, essentially invalidating any requests for data that were sent out before a user clicked the change ndim button
in #15 I added the line
to the vispy image handle... but I suspect it's indicative of something that needs to be handled higher up, in the stack viewer itself, essentially invalidating any requests for data that were sent out before a user clicked the change ndim button