今天在学习过程中遇到以下代码:
%matplotlib inline
查询后得知:
- 适用范围:是在使用jupyter notebook 或者 jupyter qtconsole的时候,才会经常用到%matplotlib
- 具体作用:调用matplotlib.pyplot的绘图函数plot()进行绘图的时候,或者生成一个figure画布的时候,可以直接在你的python console里面生成图像。
以为记
今天在学习过程中遇到以下代码:
%matplotlib inline
查询后得知:
- 适用范围:是在使用jupyter notebook 或者 jupyter qtconsole的时候,才会经常用到%matplotlib
- 具体作用:调用matplotlib.pyplot的绘图函数plot()进行绘图的时候,或者生成一个figure画布的时候,可以直接在你的python console里面生成图像。
以为记