美文网首页
%matplotlib inline 命令

%matplotlib inline 命令

作者: 超超超超超超超超级玛丽 | 来源:发表于2018-03-29 12:54 被阅读0次

%matplotlib inline 是一个魔法函数,是IPython下独有的形式。
使用%matplotlib可以使用指定的界面库显示图表,它有一个参数指定matplotlib图表的显示方式。inline表示将图表嵌入到Notebook中。
区别如下图所示:


图片.png 图片.png

相关文章

网友评论

      本文标题:%matplotlib inline 命令

      本文链接:https://www.haomeiwen.com/subject/acjmcftx.html