Automatically run %matplotlib inline in IPython Notebook

后端 未结 7 1545
逝去的感伤
逝去的感伤 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:46

    I think what you want might be to run the following from the command line:

    ipython notebook --matplotlib=inline
    

    If you don't like typing it at the cmd line every time then you could create an alias to do it for you.

提交回复
热议问题