在 IPython Notebook 中自動執行 %matplotlib inline


%matplotlib 將返回後端值。

%matplotlib auto 將返回 Ipython shell 中後端的名稱。

示例

In [1]: %matplotlib auto

輸出

Using matplotlib backend: GTK3Agg

更新時間:2021 年 3 月 16 日

257 次瀏覽

開啟你的 職業

透過完成課程獲得認證

開始吧
廣告
© . All rights reserved.