[`napari_matplotlib.histogram._get_bins`](https://github.com/matplotlib/napari-matplotlib/blob/d7cca907e8f288a7f8222234b4efe94b1aeb222e/src/napari_matplotlib/histogram.py#L23-L30) returns fewer bins if the data passed to it are `float` compared to if they are `int`. To reproduce: ```python import numpy as np from napari_matplotlib.histogram import _get_bins data = np.arange(0, 101, dtype=int) print(_get_bins(data).size) print(_get_bins(data.astype(float)).size) ``` which prints: ``` 101 100 ``` To fix, perhaps 100 bins (101 bin edges) should be created with `np.linspace` for float data