ipython / ipython/ipykernel

ipykernel backend requires matplotlib>=2.0.0

未关闭
#378 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
734
派生
412
平均合并
1 天 5 小时
30 天内合并 PR
8

描述

As a result of this line:

https://github.com/ipython/ipykernel/blob/34ca17011c1e79f65290b88f1deb18ac03e142af/ipykernel/pylab/backend_inline.py#L195

the `inline` backend provided by `ipykernel` requires `matplotlib>=2.0.0`. However, since ipykernel doesn't declare its own dependency on matplotlib, its quite easy to install a jupyter notebook instance that doesn't work.

It is possible to put a matplotlib version check in the header for `ipykernel.pylab` so that errors are raised as early as possible (i.e. when using `%matplotlib inline` in ipython)?

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。