matplotlib - 在 jupyter qtconsole 中自动运行 %matplotlib inline

标签 matplotlib jupyter qtconsole

有没有办法更改配置文件以使 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/

相关文章:

python - 为 Jupyter QtConsole 设置默认配置

python - 为 SymPy 图检索 matplotlib ContourSet

python - matplotlib 中有两个变量的直方图

python - 如何使用python opencv在jupyter笔记本上以正常速度播放mp4

python - 使用 matplotlib 创建一个饼图

python - Matplotlib:seaborn 导入后忽略 matplotlibrc 文件

python - 在 map 内联(Jupyter)上绘制坐标的最快方法是什么?

jupyter - 如何在 Airflow 中运行 jupyter notebook

python - 不同环境的不同JupyterLab工作目录

python - 如何在QtConsole3中设置内嵌图像不透明?