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 75bfe52 commit 7b48bc3Copy full SHA for 7b48bc3
src/napari_matplotlib/histogram.py
@@ -82,13 +82,13 @@ def draw(self) -> None:
82
for i, c in enumerate("rgb"):
83
self.axes.hist(
84
data[..., i].ravel(),
85
- bins=bins,
+ bins=bins.tolist(),
86
label=c,
87
histtype="step",
88
color=_COLORS[c],
89
)
90
else:
91
- self.axes.hist(data.ravel(), bins=bins, label=layer.name)
+ self.axes.hist(data.ravel(), bins=bins.tolist(), label=layer.name)
92
93
self._contrast_lines = [
94
self.axes.axvline(lim, color="white")
0 commit comments