有没有办法更改配置文件以使 jupyter qtconsole 在启动时运行以下命令?:
%matplotlib inline
最佳答案
将此行添加到 ipython_config.py
文件( 不是 ipython_qtconsole_config.py
文件):
c.InteractiveShellApp.matplotlib = 'inline'
关于matplotlib - 在 jupyter qtconsole 中自动运行 %matplotlib inline,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33227971/