@@ -22,10 +22,9 @@ a dependency to building the docs.
2222Qt Bindings
2323-----------
2424
25- There are currently 2 actively supported Qt versions, Qt5 and Qt6, and two
26- supported Python bindings per version -- `PyQt5
27- <https://www.riverbankcomputing.com/static/Docs/PyQt5/> `_ and `PySide2
28- <https://doc.qt.io/qtforpython-5/contents.html> `_ for Qt5 and `PyQt6
25+ There are currently 2 actively supported Qt versions, Qt5 and Qt6. `PyQt5
26+ <https://www.riverbankcomputing.com/static/Docs/PyQt5/> `_ is the supported
27+ Python binding for Qt5 and there are both `PyQt6
2928<https://www.riverbankcomputing.com/static/Docs/PyQt6/> `_ and `PySide6
3029<https://doc.qt.io/qtforpython/contents.html> `_ for Qt6 [# ]_. Matplotlib's
3130qtagg and qtcairo backends (``matplotlib.backends.backend_qtagg `` and
@@ -35,13 +34,12 @@ parts factored out in the ``matplotlib.backends.backend_qt`` module.
3534At runtime, these backends select the actual binding used as follows:
3635
37361. If a binding's ``QtCore `` subpackage is already imported, that binding is
38- selected (the order for the check is ``PyQt6 ``, ``PySide6 ``, ``PyQt5 ``,
39- ``PySide2 ``).
37+ selected (the order for the check is ``PyQt6 ``, ``PySide6 ``, ``PyQt5 ``).
40382. If the :envvar: `QT_API ` environment variable is set to one of "PyQt6",
41- "PySide6", "PyQt5", "PySide2" (case-insensitive), that binding is selected.
39+ "PySide6", "PyQt5" (case-insensitive), that binding is selected.
4240 (See also the documentation on :ref: `environment-variables `.)
43413. Otherwise, the first available backend in the order ``PyQt6 ``, ``PySide6 ``,
44- ``PyQt5 ``, `` PySide2 `` is selected.
42+ ``PyQt5 `` is selected.
4543
4644In the past, Matplotlib used to have separate backends for each version of Qt
4745(e.g. qt4agg/``matplotlib.backends.backend_qt4agg `` and
@@ -62,8 +60,9 @@ change without warning [#]_.
6260
6361.. [# ] There is also `PyQt4
6462 <https://www.riverbankcomputing.com/static/Docs/PyQt4/> `_ and `PySide
65- <https://srinikom.github.io/pyside-docs/> `_ for Qt4 but these are no
66- longer supported by Matplotlib and upstream support for Qt4 ended
63+ <https://srinikom.github.io/pyside-docs/> `_ for Qt4 and `PySide2
64+ <https://doc.qt.io/qtforpython-5/contents.html> `_ for Qt5 but these are
65+ no longer supported by Matplotlib. Upstream support for Qt4 ended
6766 in 2015.
6867 .. [# ] Despite the slight API differences, the more important distinction
6968 between the PyQt and Qt for Python series of bindings is licensing.
0 commit comments