Skip to content

Commit ef4a698

Browse files
oscargusmeeseeksmachine
authored andcommitted
Backport PR #22786: add ipympl website links
1 parent 2337b23 commit ef4a698

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

doc/users/explain/backends.rst

+3-4
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ Backend Description
162162
QtAgg Agg rendering in a Qt_ canvas (requires PyQt_ or `Qt for Python`_,
163163
a.k.a. PySide). This backend can be activated in IPython with
164164
``%matplotlib qt``.
165-
ipympl Agg rendering embedded in a Jupyter widget. (requires ipympl).
165+
ipympl Agg rendering embedded in a Jupyter widget. (requires ipympl_).
166166
This backend can be enabled in a Jupyter notebook with
167167
``%matplotlib ipympl``.
168168
GTK3Agg Agg rendering to a GTK_ 3.x canvas (requires PyGObject_,
@@ -209,6 +209,7 @@ wxAgg Agg rendering to a wxWidgets_ canvas (requires wxPython_ 4).
209209
.. _GTK: https://www.gtk.org/
210210
.. _Tk: https://www.tcl.tk/
211211
.. _wxWidgets: https://www.wxwidgets.org/
212+
.. _ipympl: https://www.matplotlib.org/ipympl
212213

213214
ipympl
214215
^^^^^^
@@ -219,16 +220,14 @@ Matplotlib. To install ipympl:
219220
.. code-block:: bash
220221
221222
pip install ipympl
222-
jupyter nbextension enable --py --sys-prefix ipympl
223223
224224
or
225225

226226
.. code-block:: bash
227227
228228
conda install ipympl -c conda-forge
229229
230-
See `jupyter-matplotlib <https://github.com/matplotlib/jupyter-matplotlib>`__
231-
for more details.
230+
See `installing ipympl <https://matplotlib.org/ipympl/installing.html>`__ for more details.
232231

233232
.. _QT_API-usage:
234233

doc/users/explain/interactive.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Matplotlib ships with :ref:`backends <what-is-a-backend>` binding to
1919
several GUI toolkits (Qt, Tk, Wx, GTK, macOS, JavaScript) and third party
2020
packages provide bindings to `kivy
2121
<https://github.com/kivy-garden/garden.matplotlib>`__ and `Jupyter Lab
22-
<https://github.com/matplotlib/ipympl>`__. For the figures to be responsive to
22+
<https://matplotlib.org/ipympl>`__. For the figures to be responsive to
2323
mouse, keyboard, and paint events, the GUI event loop needs to be integrated
2424
with an interactive prompt. We recommend using IPython (see :ref:`below <ipython-pylab>`).
2525

0 commit comments

Comments
 (0)