pycharm 不显示 plot 绘图

查了很多,都是说加:
plt.show()

但加过之后仍然不显示

后来,我把

import matplotlib.pyplot as plt

提到了另外几个import的前面,就正常显示了

猜你喜欢

转载自blog.csdn.net/Outsider_Lily/article/details/80446765