1
我在Mac OS X PyCharm與Enthought設置爲解釋:Enthought + PyCharm - 不能顯示地塊再
~/Library/Enthought/Canopy_64bit/User
但是,它並沒有顯示出任何來自matplotlib的地塊。
import pandas as pd
from numpy import *
import matplotlib.pyplot as plt
ts = pd.Series(random.randn(1000), index=pd.date_range('1/1/2000', periods=1000))
ts = ts.cumsum()
ts.plot()
這只是給我Out[124]: <matplotlib.axes.AxesSubplot at 0x10dd29f90>
。它沒有顯示情節,也沒有做任何其他事情。沒有錯誤,沒有。