Skip to content

Commit eb4b5b8

Browse files
committed
Remove deprecated cocoaagg backend along with leftover refs to fltk
1 parent 77caea0 commit eb4b5b8

File tree

9 files changed

+10
-320
lines changed

9 files changed

+10
-320
lines changed

doc/users/screenshots.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ rendering of strings with the *usetex* option.
279279
EEG demo
280280
=========
281281

282-
You can embed matplotlib into pygtk, wx, Tk, FLTK, or Qt applications.
282+
You can embed matplotlib into pygtk, wx, Tk, or Qt applications.
283283
Here is a screenshot of an EEG viewer called `pbrain
284284
<http://github.com/nipy/pbrain>`__.
285285

examples/README.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@ directories found here:
3838
* units - working with unit data an custom types in matplotlib
3939

4040
* user_interfaces - using matplotlib in a GUI application, e.g.,
41-
TkInter, WXPython, pygtk, pyqt or FLTK widgets
41+
TkInter, WXPython, pygtk, pyqt widgets
4242

4343
* widgets - Examples using interactive widgets

examples/event_handling/test_mouseclicks.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
#matplotlib.use("TkAgg")
77
#matplotlib.use("GTKAgg")
88
#matplotlib.use("Qt4Agg")
9-
#matplotlib.use("CocoaAgg")
109
#matplotlib.use("MacOSX")
1110
import matplotlib.pyplot as plt
1211

examples/user_interfaces/README.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,9 @@ Embedding matplotlib in graphical user interfaces
33

44
You can embed matplotlib directly into a user interface application by
55
following the embedding_in_SOMEGUI.py examples here. Currently
6-
matplotlib supports wxpython, pygtk, tkinter, pyqt, fltk and cocoa.
6+
matplotlib supports wxpython, pygtk, tkinter and pyqt4/5.
77

88
When embedding matplotlib in a GUI, you must use the matplotlib API
99
directly rather than the pylab/pyplot proceedural interface, so take a
1010
look at the examples/api directory for some example code working with
1111
the API.
12-
13-

lib/matplotlib/backends/backend_cocoaagg.py

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

lib/matplotlib/rcsetup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@
3737
from cycler import Cycler, cycler as ccycler
3838

3939
# interactive_bk = ['gtk', 'gtkagg', 'gtkcairo', 'qt4agg',
40-
# 'tkagg', 'wx', 'wxagg', 'cocoaagg', 'webagg']
40+
# 'tkagg', 'wx', 'wxagg', 'webagg']
4141
# The capitalized forms are needed for ipython at present; this may
4242
# change for later versions.
4343

4444
interactive_bk = ['GTK', 'GTKAgg', 'GTKCairo', 'MacOSX',
45-
'Qt4Agg', 'Qt5Agg', 'TkAgg', 'WX', 'WXAgg', 'CocoaAgg',
45+
'Qt4Agg', 'Qt5Agg', 'TkAgg', 'WX', 'WXAgg',
4646
'GTK3Cairo', 'GTK3Agg', 'WebAgg', 'nbAgg']
4747

4848

lib/matplotlib/tests/test_coding_standards.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,6 @@ def test_pep8_conformance_installed_files():
221221
'backends/__init__.py',
222222
'backends/backend_agg.py',
223223
'backends/backend_cairo.py',
224-
'backends/backend_cocoaagg.py',
225224
'backends/backend_gdk.py',
226225
'backends/backend_gtk.py',
227226
'backends/backend_gtk3.py',

matplotlibrc.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
#### CONFIGURATION BEGINS HERE
3131

3232
# The default backend; one of GTK GTKAgg GTKCairo GTK3Agg GTK3Cairo
33-
# CocoaAgg MacOSX Qt4Agg Qt5Agg TkAgg WX WXAgg Agg Cairo GDK PS PDF SVG
33+
# MacOSX Qt4Agg Qt5Agg TkAgg WX WXAgg Agg Cairo GDK PS PDF SVG
3434
# Template.
3535
# You can also deploy your own backend outside of matplotlib by
3636
# referring to the module name (which must be in the PYTHONPATH) as

setup.cfg.template

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
#toolkits_tests = auto
3434

3535
[gui_support]
36-
# Matplotlib supports multiple GUI toolkits, including Cocoa,
37-
# GTK, Fltk, MacOSX, Qt, Qt4, Tk, and WX. Support for many of
36+
# Matplotlib supports multiple GUI toolkits, including
37+
# GTK, MacOSX, Qt4, Qt5, Tk, and WX. Support for many of
3838
# these toolkits requires AGG, the Anti-Grain Geometry library,
3939
# which is provided by matplotlib and built by default.
4040
#
@@ -80,8 +80,8 @@
8080
[rc_options]
8181
# User-configurable options
8282
#
83-
# Default backend, one of: Agg, Cairo, CocoaAgg, GTK, GTKAgg, GTKCairo,
84-
# FltkAgg, MacOSX, Pdf, Ps, QtAgg, Qt4Agg, SVG, TkAgg, WX, WXAgg.
83+
# Default backend, one of: Agg, Cairo, GTK, GTKAgg, GTKCairo,
84+
# GTK3Agg, GTK3Cairo, MacOSX, Pdf, Ps, Qt4Agg, Qt5Agg, SVG, TkAgg, WX, WXAgg.
8585
#
8686
# The Agg, Ps, Pdf and SVG backends do not require external
8787
# dependencies. Do not choose GTK, GTKAgg, GTKCairo, MacOSX, or TkAgg

0 commit comments

Comments
 (0)