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 摘要。