ipython / ipython/ipykernel

ipykernel backend requires matplotlib>=2.0.0

Aperta
#378 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
734
Fork
412
Merge medio
1g 5h
PR unite (30g)
8

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.