Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[WIP] Deprecate gtk, gdk and wx backends and remove Cocoaagg #6574

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove deprecated cocoaagg backend along with leftover refs to fltk
  • Loading branch information
jenshnielsen committed Jun 14, 2016
commit eb4b5b8df2faee1fbcad4afdeacffba4b11e2965
2 changes: 1 addition & 1 deletion 2 doc/users/screenshots.rst
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ rendering of strings with the *usetex* option.
EEG demo
=========

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

Expand Down
2 changes: 1 addition & 1 deletion 2 examples/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ directories found here:
* units - working with unit data an custom types in matplotlib

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

* widgets - Examples using interactive widgets
1 change: 0 additions & 1 deletion 1 examples/event_handling/test_mouseclicks.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
#matplotlib.use("TkAgg")
#matplotlib.use("GTKAgg")
#matplotlib.use("Qt4Agg")
#matplotlib.use("CocoaAgg")
#matplotlib.use("MacOSX")
import matplotlib.pyplot as plt

Expand Down
4 changes: 1 addition & 3 deletions 4 examples/user_interfaces/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@ Embedding matplotlib in graphical user interfaces

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

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


306 changes: 0 additions & 306 deletions 306 lib/matplotlib/backends/backend_cocoaagg.py

This file was deleted.

4 changes: 2 additions & 2 deletions 4 lib/matplotlib/rcsetup.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@
from cycler import Cycler, cycler as ccycler

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

interactive_bk = ['GTK', 'GTKAgg', 'GTKCairo', 'MacOSX',
'Qt4Agg', 'Qt5Agg', 'TkAgg', 'WX', 'WXAgg', 'CocoaAgg',
'Qt4Agg', 'Qt5Agg', 'TkAgg', 'WX', 'WXAgg',
'GTK3Cairo', 'GTK3Agg', 'WebAgg', 'nbAgg']


Expand Down
1 change: 0 additions & 1 deletion 1 lib/matplotlib/tests/test_coding_standards.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,6 @@ def test_pep8_conformance_installed_files():
'backends/__init__.py',
'backends/backend_agg.py',
'backends/backend_cairo.py',
'backends/backend_cocoaagg.py',
'backends/backend_gdk.py',
'backends/backend_gtk.py',
'backends/backend_gtk3.py',
Expand Down
2 changes: 1 addition & 1 deletion 2 matplotlibrc.template
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#### CONFIGURATION BEGINS HERE

# The default backend; one of GTK GTKAgg GTKCairo GTK3Agg GTK3Cairo
# CocoaAgg MacOSX Qt4Agg Qt5Agg TkAgg WX WXAgg Agg Cairo GDK PS PDF SVG
# MacOSX Qt4Agg Qt5Agg TkAgg WX WXAgg Agg Cairo GDK PS PDF SVG
# Template.
# You can also deploy your own backend outside of matplotlib by
# referring to the module name (which must be in the PYTHONPATH) as
Expand Down
8 changes: 4 additions & 4 deletions 8 setup.cfg.template
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
#toolkits_tests = auto

[gui_support]
# Matplotlib supports multiple GUI toolkits, including Cocoa,
# GTK, Fltk, MacOSX, Qt, Qt4, Tk, and WX. Support for many of
# Matplotlib supports multiple GUI toolkits, including
# GTK, MacOSX, Qt4, Qt5, Tk, and WX. Support for many of
# these toolkits requires AGG, the Anti-Grain Geometry library,
# which is provided by matplotlib and built by default.
#
Expand Down Expand Up @@ -80,8 +80,8 @@
[rc_options]
# User-configurable options
#
# Default backend, one of: Agg, Cairo, CocoaAgg, GTK, GTKAgg, GTKCairo,
# FltkAgg, MacOSX, Pdf, Ps, QtAgg, Qt4Agg, SVG, TkAgg, WX, WXAgg.
# Default backend, one of: Agg, Cairo, GTK, GTKAgg, GTKCairo,
# GTK3Agg, GTK3Cairo, MacOSX, Pdf, Ps, Qt4Agg, Qt5Agg, SVG, TkAgg, WX, WXAgg.
#
# The Agg, Ps, Pdf and SVG backends do not require external
# dependencies. Do not choose GTK, GTKAgg, GTKCairo, MacOSX, or TkAgg
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.