matplotlib / ipympl

Matplotlib Jupyter Integration
https://matplotlib.org/ipympl/
BSD 3-Clause "New" or "Revised" License
1.59k stars 225 forks source link

Add matplotlib.backend entry points #549

Closed ianthomas23 closed 8 months ago

ianthomas23 commented 8 months ago

This adds entry points to pyproject.toml for ipympl to register itself as a Matplotlib backend using the names "widget" and "ipympl". It is part of the planned transition of backend mapping from IPython to Matplotlib (https://github.com/matplotlib/matplotlib/issues/27663 and https://github.com/ipython/ipython/issues/14311).

I have bumped the package version as it will be used by Matplotlib to determine if a backward-compatible shim is required for this backend. I have also bumped some of the pre-commit hook versions which was required for flake to be happy on my dev machine.