matplotlibFile でグラフをプロットしているときに、以下のエラーに直面しています」
<stdin>", line 1, in <module>
File "/usr/lib/pymodules/python2.7/matplotlib/pyplot.py", line 2515, in bar
ret = ax.bar(left, height, width=width, bottom=bottom, **kwargs)
File "/usr/lib/pymodules/python2.7/matplotlib/axes.py", line 4951, in bar
width *= nbars
MemoryError
私のコードは次のようになります。
import matplotlib.pyplot as plt
x = [56508490, 56508490]
max = 56508490
plt.bar(range(0,max), x) #-> error line
#plt.show()
PS:変数では上記の値のみを使用する必要があります