%matplotlib inline的作用


'%matplotlib inline'是一个Ipython的魔法函数,其作用是在使用matplotlib画图时可以省略'plt.show()',直接显示图像。

相关