如题,我在用mac系统下的pycharm作图,结果输完代码没有图弹出来,求教怎么才能有图啊。。下面是代码
import matplotlib as mpl import numpy as np import matplotlib.pyplot as plt
np.random.seed(2000) y=np.random.standard_normal(20) x=range(len(y))
plt.plot(x,y)
Sign in to make a reply
Eri_sunshine
如题,我在用mac系统下的pycharm作图,结果输完代码没有图弹出来,求教怎么才能有图啊。。下面是代码
import matplotlib as mpl import numpy as np import matplotlib.pyplot as plt
np.random.seed(2000) y=np.random.standard_normal(20) x=range(len(y))
plt.plot(x,y)