次のようなコードに出くわすことがあります。
import matplotlib.pyplot as plt
x = [1, 2, 3, 4, 5]
y = [1, 4, 9, 16, 25]
fig = plt.figure()
fig.add_subplot(111)
plt.scatter(x, y)
plt.show()
生成するもの:
私はドキュメントを狂ったように読んでいますが、111
. 時々私は見ます212
。
の引数 とはfig.add_subplot()
どういう意味ですか?