Repository navigation
Add support for ipympl backend to magic - #9885
jenshnielsen wants to merge 2 commits into
Conversation
Needs to go together with the matching change in ipykernel
|
We could also consider having |
|
Should I remove the enabling in |
|
@SylvainCorlay I think this is probably the way we want to go forward but I am not sure we should remove the init in This should also enable interactive usage but there are some issues that I need to investigate and fix before this is merged. Specifically having a cell with just a single plot command i.e. will show a figure the first time that it is executed but not if it's re executed. That currently works with |
|
This looks good to me. @takluyver are all the 5.2-milestoned issues eventually going to be backported or is the backport done as we go? |
|
There's a script in the tools folder that we use to do backports whenever we're thinking about it. |
|
should figure out a way to use entrypoint instead of having all backend hardcoded ? |
The part of the mapping that does could be removed if matplotlib backend names were more concise :) The other ones are about support for jupyter. I guess that this mapping could be moved to matplotlib eventually. |
|
The problem with backend names is that matplotlib backends are bacically 2 different things lumped together in one.
On the matplotlib side we therefore have. GTKAgg and GTKCairo and so on. |
|
Closing in favour of #10059, which is an updated copy of this. |
This enables you to do
%matplotlib ipymplto use https://github.com/matplotlib/jupyter-matplotlib backend. In the long term I expect that theNeeds to go together with the matching change in ipykernel. Which I will open a pull request for in a moment.
I am not sure how to best handle the interdependency between this and ipykernel
With this change the backend will be added to the list of available backends via
%matplotlib --listbut will not actually be functional without the change in ipykernel