Jupyter notebook 使用plt.show()不显示图片

Jupyter notebook 使用plt.show()不显示图片图片咋办呀?网上搜的都没有用,只能保存,看起来太不方便了,求解!

这样试试,在show 前
加句

%matplotlib inline

在首行添加
%matplotlib inline

%matplotlib notebook