在 IPython Notebook 中自动运行 %matplotlib inline
%matplotlib 将返回后端值。
%matplotlib auto 将返回 Ipython shell 中后端的名称。
示例
In [1]: %matplotlib auto
输出
Using matplotlib backend: GTK3Agg
广告
%matplotlib 将返回后端值。
%matplotlib auto 将返回 Ipython shell 中后端的名称。
In [1]: %matplotlib auto
Using matplotlib backend: GTK3Agg