Automatically run %matplotlib inline in IPython Notebook

后端 未结 7 1553
逝去的感伤
逝去的感伤 2020-11-28 20:06

Every time I launch IPython Notebook, the first command I run is

%matplotlib inline

Is there some way to change my config file so that when

7条回答
  •  清酒与你
    2020-11-28 20:45

    Create any .py file in ~/.ipython/profile_default/startup/ containing

    get_ipython().magic('matplotlib inline')
    

提交回复
热议问题