###前提・実現したいこと
pythonのmatplotlibでグラフを描写したい。
###発生している問題・エラーメッセージ
TypeErrorがでる。このエラーがなぜ出るのか。
TypeError Traceback (most recent call last) <ipython-input-29-6927610123c4> in <module>() 2 x = [1,2,3] 3 y = [1,2,3] ----> 4 plt.plot(x,y) 5 plt.show() TypeError: 'tuple' object is not callable
###該当のソースコード
python
1import matplotlib.pyplot as plt 2x = [1,2,3] 3y = [1,2,3] 4plt.plot(x,y) 5plt.show()
###補足情報(言語/FW/ツール等のバージョンなど)
Jupiter notebook
Mac OS
回答1件
あなたの回答
tips
プレビュー