Closed1
投稿テスト(正規分布 Python)
import matplotlib.pyplot as plt
import numpy as np
fig, (ax1, ax2) = plt.subplots(1, 2)
n = 100
x, y = range(n), np.random.randn(n)
ax1.plot(x, y)
ax2.hist(y)
fig.show()
投稿できた!
このスクラップは2024/09/15にクローズされました
import matplotlib.pyplot as plt
import numpy as np
fig, (ax1, ax2) = plt.subplots(1, 2)
n = 100
x, y = range(n), np.random.randn(n)
ax1.plot(x, y)
ax2.hist(y)
fig.show()
投稿できた!