Skip to content

Navigation Menu

Sign in
Appearance settings

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

Sign up
Appearance settings
This repository was archived by the owner on Nov 9, 2022. It is now read-only.

Commit 263a9b8

Browse files
add random seed
1 parent a8c5649 commit 263a9b8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎doc/python/selections.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ import plotly.graph_objects as go
160160

161161
import numpy as np
162162

163+
np.random.seed(0)
163164
t = np.linspace(-1, 1.2, 2000)
164165
x = (t**3) + (0.3 * np.random.randn(2000))
165166
y = (t**6) + (0.3 * np.random.randn(2000))

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /