Skip to content

Commit

Permalink
Remove deprecated backends.
Browse files Browse the repository at this point in the history
  • Loading branch information
QuLogic committed Mar 4, 2018
1 parent 34f6099 commit 40e3879
Show file tree
Hide file tree
Showing 24 changed files with 26 additions and 2,080 deletions.
1 change: 0 additions & 1 deletion INSTALL.rst
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@ optional Matplotlib backends and the capabilities they provide.
* `PyQt4 <https://pypi.python.org/pypi/PyQt4>`_ (>= 4.4) or
`PySide <https://pypi.python.org/pypi/PySide>`_: for the Qt4Agg backend;
* `PyQt5 <https://pypi.python.org/pypi/PyQt5>`_: for the Qt5Agg backend;
* :term:`pygtk` (>= 2.4): for the GTK and the GTKAgg backend;
* :term:`wxpython` (>= 2.9 or later): for the WX or WXAgg backend;
* `cairocffi <https://cairocffi.readthedocs.io/en/latest/>`__ (>=
v0.8): for cairo based backends;
Expand Down
11 changes: 0 additions & 11 deletions doc/api/backend_gtkagg_api.rst

This file was deleted.

11 changes: 0 additions & 11 deletions doc/api/backend_gtkcairo_api.rst

This file was deleted.

2 changes: 0 additions & 2 deletions doc/api/index_backend_api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ backends
backend_tools_api.rst
backend_agg_api.rst
backend_cairo_api.rst
backend_gtkagg_api.rst
backend_gtkcairo_api.rst
backend_gtk3agg_api.rst
backend_gtk3cairo_api.rst
backend_nbagg_api.rst
Expand Down
11 changes: 2 additions & 9 deletions doc/glossary/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -74,16 +74,9 @@ Glossary
features of PyGObject. However Matplotlib does not use any of these
missing features.

pygtk
`pygtk <http://www.pygtk.org/>`_ provides python wrappers for
the :term:`GTK` widgets library for use with the GTK or GTKAgg
backend. Widely used on linux, and is often packages as
'python-gtk2'

PyGObject
Like :term:`pygtk`, `PyGObject <http://www.pygtk.org/>` provides
python wrappers for the :term:`GTK` widgets library; unlike pygtk,
PyGObject wraps GTK3 instead of the now obsolete GTK2.
`PyGObject <http://www.pygtk.org/>`_ provides Python wrappers for the
:term:`GTK` widgets library

pyqt
`pyqt <https://wiki.python.org/moin/PyQt>`_ provides python
Expand Down
2 changes: 1 addition & 1 deletion doc/users/shell.rst
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ up python. Then::
>>> xlabel('hi mom')

should work out of the box. This is also likely to work with recent
versions of the qt4agg and gtkagg backends, and with the macosx backend
versions of the qt4agg and gtk3agg backends, and with the macosx backend
on the Macintosh. Note, in batch mode,
i.e. when making
figures from scripts, interactive mode can be slow since it redraws
Expand Down
2 changes: 1 addition & 1 deletion examples/event_handling/ginput_manual_clabel_sgskip.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
waitforbuttonpress and manual clabel placement.
This script must be run interactively using a backend that has a
graphical user interface (for example, using GTKAgg backend, but not
graphical user interface (for example, using GTK3Agg backend, but not
PS backend).
See also ginput_demo.py
Expand Down
2 changes: 1 addition & 1 deletion examples/widgets/cursor.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
ax.set_xlim(-2, 2)
ax.set_ylim(-2, 2)

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

plt.show()
2 changes: 1 addition & 1 deletion examples/widgets/span_selector.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def onselect(xmin, xmax):
ax2.set_ylim(thisy.min(), thisy.max())
fig.canvas.draw()

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

Expand Down
2 changes: 0 additions & 2 deletions lib/matplotlib/animation.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# TODO:
# * Loop Delay is broken on GTKAgg. This is because source_remove() is not
# working as we want. PyGTK bug?
# * Documentation -- this will need a new section of the User's Guide.
# Both for Animations and just timers.
# - Also need to update http://www.scipy.org/Cookbook/Matplotlib/Animations
Expand Down
Loading

0 comments on commit 40e3879

Please sign in to comment.