在 IPython Notebook 中自动运行 %matplotlib inline


%matplotlib 将返回后端值。

%matplotlib auto 将返回 Ipython shell 中后端的名称。

示例

In [1]: %matplotlib auto

输出

Using matplotlib backend: GTK3Agg

更新时间:2021 年 3 月 16 日

257 次浏览

开启你的 职业

通过完成课程获得认证

开始吧
广告
© . All rights reserved.