在 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