ipython / ipython/ipykernel

ipykernel backend requires matplotlib>=2.0.0

Đang mở
#378 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
734
Fork
412
Merge trung bình
1 ngày 5 giờ
Pull request đã merge (30 ngày)
8

Mô tả

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)?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.