Skip to content

Commit 08c1e16

Browse files
rcomercvanelteren
andauthored
Fix inhomogeneous violin test (#323)
Co-authored-by: Casper van Elteren <[email protected]>
1 parent a023ad4 commit 08c1e16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ultraplot/tests/test_plot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ def test_inhomogeneous_violin(rng):
441441
Test that inhomogeneous violin plots work correctly.
442442
"""
443443
fig, ax = uplt.subplots()
444-
data = [rng.normal(size=100), np.random.normal(size=200)]
444+
data = [rng.normal(size=100), rng.normal(size=200)]
445445
violins = ax.violinplot(data, vert=True, labels=["A", "B"])
446446
assert len(violins) == 2
447447
for violin in violins:

0 commit comments

Comments
 (0)