Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e7ad9e7

Browse files
committed
Added seed for random points features
1 parent f304e4e commit e7ad9e7

File tree

2 files changed

+1
-0
lines changed

2 files changed

+1
-0
lines changed

src/napari_matplotlib/tests/test_scatter.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ def test_features_scatter_widget(make_napari_viewer, astronaut_data):
5353

5454
# make the points data
5555
n_points = 100
56+
np.random.seed(10)
5657
points_data = 100 * np.random.random((100, 2))
5758
points_features = {
5859
"feature_0": np.random.random((n_points,)),

0 commit comments

Comments
 (0)