- Notifications
You must be signed in to change notification settings - Fork22
Open
Description
Getting this error trying to useHistogramWidget
with some zarr data loaded into napari:
File~/miniconda3/lib/python3.11/site-packages/napari_matplotlib/histogram.py:72,inHistogramWidget.draw(self=<napari_matplotlib.histogram.HistogramWidgetobject>)67""" 68 Clear the axes and histogram the currently selected layer/slice. 69 """70layer=self.layers[0]--->72iflayer.data.ndim-layer.rgb==3:layer=<Imagelayer'full_rebinned_4'at0x16d1ad390>layer.rgb=False73# 3D data, can be single channel or RGB74data=layer.data[self.current_z]75self.axes.set_title(f"z={self.current_z}")AttributeError:'MultiScaleData'objecthasnoattribute'ndim'