Skip to content

Commit 8a7d9e4

Browse files
committed
fix typo in comment about using 128 bins for float data
1 parent 37d33ae commit 8a7d9e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/napari_matplotlib/histogram.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def _get_bins(data: npt.NDArray[Any]) -> npt.NDArray[Any]:
3131
step = np.ceil(np.ptp(data) / 100)
3232
return np.arange(np.min(data), np.max(data) + step, step)
3333
else:
34-
# For other data types, just have 128 evenly spaced bins
34+
# For other data types, just have 99 evenly spaced bins
3535
return np.linspace(np.min(data), np.max(data), 100)
3636

3737

0 commit comments

Comments
 (0)