Logo Questions Linux Laravel Mysql Ubuntu Git Menu

IPython3 automatically config %matplotlib inline

I'm using IPython 3 / Jupyter, and I want to use the %matplotlib option by default.

In IPython 2, I had the next option on the ~/.ipython/profile_default/ipython_notebook_config.py

c.InteractiveShellApp.matplotlib = 'inline'

But in IPython 3, this option is not available anymore.

It also disappeared the setting c.InlineBackend.rc, which I used to set up the appearance of charts.

How those options can be set now?

like image 986
Marc Garcia Avatar asked Mar 16 '23 19:03

Marc Garcia

1 Answers

Use the option in ~/.ipython/profile_default/ipython_kernel_config.py

like image 78
Matt Avatar answered Mar 24 '23 01:03