matplotlibjupyterqtconsole

automatically run %matplotlib inline in jupyter qtconsole


Is there a way to change the config file to make jupyter qtconsole run the following command on startup?:

%matplotlib inline

Solution

  • Add this line to the ipython_config.py file (not the ipython_qtconsole_config.py file):

    c.InteractiveShellApp.matplotlib = 'inline'