Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 753d71a

Browse files
authored
Merge pull request #16459 from anntzer/backend-docs
Update backend dependency docs.
2 parents ee2691c + 656fe2c commit 753d71a

2 files changed

Lines changed: 18 additions & 19 deletions

File tree

INSTALL.rst

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -120,20 +120,25 @@ Optionally, you can also install a number of packages to enable better user
120120
interface toolkits. See :ref:`what-is-a-backend` for more details on the
121121
optional Matplotlib backends and the capabilities they provide.
122122

123-
* `Tk <https://docs.python.org/3/library/tk.html>`_ (>= 8.3, != 8.6.0 or
124-
8.6.1): for the Tk-based backends;
125-
* `PyQt4 <https://pypi.org/project/PyQt4>`_ (>= 4.6) or
126-
`PySide <https://pypi.org/project/PySide>`_ (>= 1.0.3) [#]_: for the
127-
Qt4-based backends;
128-
* `PyQt5 <https://pypi.org/project/PyQt5>`_: for the Qt5-based backends;
129-
* `PyGObject <https://pypi.org/project/PyGObject/>`_: for the GTK3-based
130-
backends [#]_;
131-
* `wxPython <https://www.wxpython.org/>`_ (>= 4) [#]_: for the wx-based
123+
* Tk_ (>= 8.3, != 8.6.0 or 8.6.1): for the Tk-based backends;
124+
* PyQt4_ (>= 4.6) or PySide_ (>= 1.0.3) [#]_: for the Qt4-based backends;
125+
* PyQt5_ or PySide2_: for the Qt5-based backends;
126+
* PyGObject_: for the GTK3-based backends [#]_;
127+
* wxPython_ (>= 4) [#]_: for the wx-based backends;
128+
* pycairo_ (>= 1.11.0) or cairocffi_ (>= 0.8): for the GTK3 and/or cairo-based
132129
backends;
133-
* `cairocffi <https://cairocffi.readthedocs.io/en/latest/>`_ (>= 0.8) or
134-
`pycairo <https://pypi.org/project/pycairo>`_: for the cairo-based
135-
backends;
136-
* `Tornado <https://pypi.org/project/tornado>`_: for the WebAgg backend;
130+
* Tornado_: for the WebAgg backend;
131+
132+
.. _Tk: https://docs.python.org/3/library/tk.html
133+
.. _PyQt4: https://pypi.org/project/PyQt4
134+
.. _PySide: https://pypi.org/project/PySide
135+
.. _PyQt5: https://pypi.org/project/PyQt5
136+
.. _PySide2: https://pypi.org/project/PySide2
137+
.. _PyGObject: https://pygobject.readthedocs.io/en/latest/
138+
.. _wxPython: https://www.wxpython.org/
139+
.. _pycairo: https://pycairo.readthedocs.io/en/latest/
140+
.. _cairocffi: https://cairocffi.readthedocs.io/en/latest/
141+
.. _Tornado: https://pypi.org/project/tornado
137142

138143
.. [#] PySide cannot be pip-installed on Linux (but can be conda-installed).
139144
.. [#] If using pip (and not conda), PyGObject must be built from source; see

tutorials/introductory/usage.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -475,12 +475,6 @@ def my_plotter(ax, data1, data2, param_dict):
475475
# See `jupyter-matplotlib <https://github.com/matplotlib/jupyter-matplotlib>`__
476476
# for more details.
477477
#
478-
# GTK and Cairo
479-
# ^^^^^^^^^^^^^
480-
#
481-
# ``GTK3`` backends (*both* ``GTK3Agg`` and ``GTK3Cairo``) depend on Cairo
482-
# (pycairo>=1.11.0 or cairocffi).
483-
#
484478
# .. _QT_API-usage:
485479
#
486480
# How do I select PyQt4 or PySide?

0 commit comments

Comments
 (0)