We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38fbccd commit 1aa3efdCopy full SHA for 1aa3efd
src/napari_matplotlib/histogram.py
@@ -43,7 +43,7 @@ def draw(self) -> None:
43
44
# Important to calculate bins after slicing 3D data, to avoid reading
45
# whole cube into memory.
46
- bins = np.linspace(np.min(layer.data), np.max(layer.data), 100)
+ bins = np.linspace(np.min(data), np.max(data), 100)
47
48
if layer.rgb:
49
# Histogram RGB channels independently
0 commit comments