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

Skip to content

Commit 0ab33cc

Browse files
committed
Bug fix
1 parent 6e41274 commit 0ab33cc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/pylab_examples/scatter_profile.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414

1515
for N in (20, 100, 1000, 10000, 50000):
1616
tstart = time.time()
17-
x = 0.9*np.random.random(N)
18-
y = 0.9*np.random.random(N)
19-
s = 20*np.random.random(N)
17+
x = 0.9*np.random.rand(N)
18+
y = 0.9*np.random.rand(N)
19+
s = 20*np.random.rand(N)
2020
plt.scatter(x, y, s)
2121
print('%d symbols in %1.2f s' % (N, time.time() - tstart))

0 commit comments

Comments
 (0)