We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8935f90 commit 6009919Copy full SHA for 6009919
src/napari_matplotlib/tests/test_histogram.py
@@ -1,8 +1,12 @@
1
+import pytest
2
+
3
from napari_matplotlib import HistogramWidget
4
5
6
+@pytest.mark.mpl_image_compare
7
def test_example_q_widget(make_napari_viewer, image_data):
8
# Smoke test adding a histogram widget
9
viewer = make_napari_viewer()
10
viewer.add_image(image_data[0], **image_data[1])
- HistogramWidget(viewer)
11
+ fig = HistogramWidget(viewer).figure
12
+ return fig
0 commit comments