IPython3自动配置%matplotlib内联 [英] IPython3 automatically config %matplotlib inline

查看:90
本文介绍了IPython3自动配置%matplotlib内联的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用IPython 3 / Jupyter,我想默认使用%matplotlib选项。

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

在IPython 2中,我有下一个选项〜/ .ipython / profile_default / ipython_notebook_config.py

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

c.InteractiveShellApp.matplotlib = 'inline'

但是在IPython 3中,此选项不再可用。

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

它也消失了设置c.InlineBackend.rc,我用它来设置图表的外观。

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?

推荐答案

使用〜/ .ipython / profile_default / ipython_kernel_config.py

这篇关于IPython3自动配置%matplotlib内联的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆