Movatterモバイル変換


[0]ホーム

URL:


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

Commitd81bcae

Browse files
committed
doc fix
1 parent277b2b5 commitd81bcae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎doc/users/next_whats_new/sketch_seed.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ Two codes with the same parameters and same seed will be exactly same to one ano
4646
fig, ax = plt.subplots()
4747
x = np.linspace(0.7, 1.42, 100)
4848
y = x ** 2
49-
ax.plot(x, y, color='black')
50-
Artist.set_sketch_params(ax, 100, 100, 20, 40)
51-
ax.title("seed = 40")
49+
ln =ax.plot(x, y, color='black')
50+
Artist.set_sketch_params(ln[0], 100, 100, 20, 40)
51+
plt.title("seed = 40")
5252
plt.show()
5353

5454
..plot::

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp