Skip to content

Commit 08a5086

Browse files
committed
cannot use negative start bin for uint data
1 parent 11590b2 commit 08a5086

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
Loading

src/napari_matplotlib/tests/test_histogram.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ def test_histogram_2D_bins(make_napari_viewer, astronaut_data):
1717
viewer.add_image(astronaut_data[0], **astronaut_data[1])
1818
widget = HistogramWidget(viewer)
1919
viewer.window.add_dock_widget(widget)
20-
widget.bins_start = -50
21-
widget.bins_stop = 300
20+
widget.bins_start = 0
21+
widget.bins_stop = 350
2222
widget.bins_num = 35
2323
fig = widget.figure
2424
# Need to return a copy, as original figure is too eagerley garbage

0 commit comments

Comments
 (0)