在 IPython Notebook 中自动内联运行 %matplotlib
matplotlibserver side programmingprogramming更新于 2025/9/10 0:43:00
%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
