Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4f73376

Browse filesBrowse files
authored
Merge pull request #9126 from tacaswell/doc_ipympl
DOC: note that ipympl is external dependency
2 parents d0922df + 940ede2 commit 4f73376
Copy full SHA for 4f73376

File tree

Expand file treeCollapse file tree

1 file changed

+23
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+23
-2
lines changed

‎tutorials/introductory/usage.py

Copy file name to clipboardExpand all lines: tutorials/introductory/usage.py
+23-2Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -414,8 +414,9 @@ def my_plotter(ax, data1, data2, param_dict):
414414
# ============ ================================================================
415415
# Qt5Agg Agg rendering in a :term:`Qt5` canvas (requires PyQt5_). This
416416
# backend can be activated in IPython with ``%matplotlib qt5``.
417-
# ipympl Agg rendering embedded in a Jupyter widget. This can be enabled
418-
# in a Jupyter notebook with ``%matplotlib ipympl``
417+
# ipympl Agg rendering embedded in a Jupyter widget. (requires ipympl)
418+
# This can be enabled in a Jupyter notebook with
419+
# ``%matplotlib ipympl``
419420
# GTK3Agg Agg rendering to a :term:`GTK` 3.x canvas (requires PyGObject_
420421
# and pycairo_ or cairocffi_)
421422
# This backend can be activated in IPython with
@@ -465,6 +466,26 @@ def my_plotter(ax, data1, data2, param_dict):
465466
# .. _PyQt4: https://riverbankcomputing.com/software/pyqt/intro
466467
# .. _PyQt5: https://riverbankcomputing.com/software/pyqt/intro
467468
#
469+
# ipympl
470+
# ------
471+
#
472+
# The Jupyter widget ecosystem is moving too fast to support directly in
473+
# Matplotlib. To install ipympl
474+
#
475+
# .. code-block:: bash
476+
#
477+
# pip install ipympl
478+
# jupyter nbextension enable --py --sys-prefix ipympl
479+
#
480+
# or
481+
#
482+
# .. code-block:: bash
483+
#
484+
# conda install ipympl -c conda-forge
485+
#
486+
# See `jupyter-matplotlib <https://github.com/matplotlib/jupyter-matplotlib>`__
487+
# for more details.
488+
#
468489
# GTK and Cairo
469490
# -------------
470491
#

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.