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

Skip to content

Commit 40e3879

Browse files
committed
Remove deprecated backends.
1 parent 34f6099 commit 40e3879

24 files changed

+26
-2080
lines changed

INSTALL.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,6 @@ optional Matplotlib backends and the capabilities they provide.
159159
* `PyQt4 <https://pypi.python.org/pypi/PyQt4>`_ (>= 4.4) or
160160
`PySide <https://pypi.python.org/pypi/PySide>`_: for the Qt4Agg backend;
161161
* `PyQt5 <https://pypi.python.org/pypi/PyQt5>`_: for the Qt5Agg backend;
162-
* :term:`pygtk` (>= 2.4): for the GTK and the GTKAgg backend;
163162
* :term:`wxpython` (>= 2.9 or later): for the WX or WXAgg backend;
164163
* `cairocffi <https://cairocffi.readthedocs.io/en/latest/>`__ (>=
165164
v0.8): for cairo based backends;

doc/api/backend_gtkagg_api.rst

Lines changed: 0 additions & 11 deletions
This file was deleted.

doc/api/backend_gtkcairo_api.rst

Lines changed: 0 additions & 11 deletions
This file was deleted.

doc/api/index_backend_api.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ backends
1010
backend_tools_api.rst
1111
backend_agg_api.rst
1212
backend_cairo_api.rst
13-
backend_gtkagg_api.rst
14-
backend_gtkcairo_api.rst
1513
backend_gtk3agg_api.rst
1614
backend_gtk3cairo_api.rst
1715
backend_nbagg_api.rst

doc/glossary/index.rst

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -74,16 +74,9 @@ Glossary
7474
features of PyGObject. However Matplotlib does not use any of these
7575
missing features.
7676

77-
pygtk
78-
`pygtk <http://www.pygtk.org/>`_ provides python wrappers for
79-
the :term:`GTK` widgets library for use with the GTK or GTKAgg
80-
backend. Widely used on linux, and is often packages as
81-
'python-gtk2'
82-
8377
PyGObject
84-
Like :term:`pygtk`, `PyGObject <http://www.pygtk.org/>` provides
85-
python wrappers for the :term:`GTK` widgets library; unlike pygtk,
86-
PyGObject wraps GTK3 instead of the now obsolete GTK2.
78+
`PyGObject <http://www.pygtk.org/>`_ provides Python wrappers for the
79+
:term:`GTK` widgets library
8780

8881
pyqt
8982
`pyqt <https://wiki.python.org/moin/PyQt>`_ provides python

doc/users/shell.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ up python. Then::
100100
>>> xlabel('hi mom')
101101

102102
should work out of the box. This is also likely to work with recent
103-
versions of the qt4agg and gtkagg backends, and with the macosx backend
103+
versions of the qt4agg and gtk3agg backends, and with the macosx backend
104104
on the Macintosh. Note, in batch mode,
105105
i.e. when making
106106
figures from scripts, interactive mode can be slow since it redraws

examples/event_handling/ginput_manual_clabel_sgskip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
waitforbuttonpress and manual clabel placement.
88
99
This script must be run interactively using a backend that has a
10-
graphical user interface (for example, using GTKAgg backend, but not
10+
graphical user interface (for example, using GTK3Agg backend, but not
1111
PS backend).
1212
1313
See also ginput_demo.py

examples/widgets/cursor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
ax.set_xlim(-2, 2)
2121
ax.set_ylim(-2, 2)
2222

23-
# set useblit = True on gtkagg for enhanced performance
23+
# Set useblit=True on some backends for enhanced performance.
2424
cursor = Cursor(ax, useblit=True, color='red', linewidth=2)
2525

2626
plt.show()

examples/widgets/span_selector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def onselect(xmin, xmax):
3838
ax2.set_ylim(thisy.min(), thisy.max())
3939
fig.canvas.draw()
4040

41-
# set useblit True on gtkagg for enhanced performance
41+
# Set useblit=True on some backends for enhanced performance.
4242
span = SpanSelector(ax1, onselect, 'horizontal', useblit=True,
4343
rectprops=dict(alpha=0.5, facecolor='red'))
4444

lib/matplotlib/animation.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
# TODO:
2-
# * Loop Delay is broken on GTKAgg. This is because source_remove() is not
3-
# working as we want. PyGTK bug?
42
# * Documentation -- this will need a new section of the User's Guide.
53
# Both for Animations and just timers.
64
# - Also need to update http://www.scipy.org/Cookbook/Matplotlib/Animations

0 commit comments

Comments
 (0)