Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f6ef269

Browse filesBrowse files
committed
Save eyes and make a lovely histogram.
1 parent b30b155 commit f6ef269
Copy full SHA for f6ef269

File tree

2 files changed

+2
-2
lines changed
Filter options

2 files changed

+2
-2
lines changed
Loading

‎src/napari_matplotlib/tests/test_theme.py

Copy file name to clipboardExpand all lines: src/napari_matplotlib/tests/test_theme.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,9 @@ def test_no_theme_side_effects(make_napari_viewer):
107107
NapariMPLWidget(viewer)
108108

109109
# some plotting unrelated to napari-matplotlib
110-
image = np.random.random((3, 3))
110+
normal_dist = np.random.normal(size=1000)
111111
unrelated_figure, ax = plt.subplots()
112-
ax.imshow(image)
112+
ax.hist(normal_dist, bins=100)
113113
ax.set_xlabel("something unrelated to napari (x)")
114114
ax.set_ylabel("something unrelated to napari (y)")
115115
ax.set_title(

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.