-
%matplotlib inline
- Jupyter notebook 中的魔法命令 ,在下面的代码模块里面都可以不用写
plt.show()
- Jupyter notebook 中的魔法命令 ,在下面的代码模块里面都可以不用写
-
%config InlineBackend.figure_format = “svg"
-
Jupyter notebook 中的魔法命令 ,可以设定显示图片的分辨率
-
常用:
-
%config InlineBackend.figure_format = “png" %config InlineBackend.figure_format = “svg" %config InlineBackend.figure_format = “retina"
-