-
-
Notifications
You must be signed in to change notification settings - Fork 397
Description
There is currently a big special case for the Matplotlib library in ipykernel and IPython.
IPython provides a %matplotlibmagic that allows choosing the current Matplotlib backend that is being used. For the sake of modularity, and in order to get rid of the special case, we should maybe extract this magic out of IPython and put it in Matplotlib (when Matplotlib is installed, it installs this magic).
ipykernel provides the Matplotlib inline backend, this should maybe be extracted from ipykernel and put in a separate package (Matplotlib?). This new module should maybe contain the configure_inline_support method that currently lives in IPython, and should be called when %matplotlib inline is invoked.
Those two improvements would help clean up the current ipykernel-IPython-Matplotlib relationship.