Skip to content

Commit 9d4616b

Browse files
committed
Replace references to pygtk by pygobject in docs.
Also reorder mentioned backends by fallback order (which is effectively our preference order), except that the OS-specific macos backend goes last. Capitalization follows the docs of each project.
1 parent cdcb729 commit 9d4616b

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

examples/user_interfaces/README.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Embedding Matplotlib in graphical user interfaces
55

66
You can embed Matplotlib directly into a user interface application by
77
following the embedding_in_SOMEGUI.py examples here. Currently
8-
matplotlib supports wxpython, pygtk, tkinter and pyqt4/5.
8+
Matplotlib supports PyQt/PySide, PyGObject, Tkinter, and wxPython.
99

1010
When embedding Matplotlib in a GUI, you must use the Matplotlib API
1111
directly rather than the pylab/pyplot proceedural interface, so take a

tutorials/introductory/sample_plots.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@
385385
EEG GUI
386386
=======
387387
388-
You can embed Matplotlib into pygtk, wx, Tk, or Qt applications.
388+
You can embed Matplotlib into Qt, GTK, Tk, or wxWidgets applications.
389389
Here is a screenshot of an EEG viewer called `pbrain
390390
<https://github.com/nipy/pbrain>`__.
391391

tutorials/introductory/usage.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ def my_plotter(ax, data1, data2, param_dict):
271271
# plotting windows pop up when they type commands. Some people run
272272
# `Jupyter <https://jupyter.org>`_ notebooks and draw inline plots for
273273
# quick data analysis. Others embed Matplotlib into graphical user
274-
# interfaces like wxpython or pygtk to build rich applications. Some
274+
# interfaces like PyQt or PyGObject to build rich applications. Some
275275
# people use Matplotlib in batch scripts to generate postscript images
276276
# from numerical simulations, and still others run web application
277277
# servers to dynamically serve up graphs.
@@ -281,8 +281,8 @@ def my_plotter(ax, data1, data2, param_dict):
281281
# "frontend" is the user facing code, i.e., the plotting code, whereas the
282282
# "backend" does all the hard work behind-the-scenes to make the figure.
283283
# There are two types of backends: user interface backends (for use in
284-
# pygtk, wxpython, tkinter, qt4, qt5, or macosx; also referred to as
285-
# "interactive backends") and hardcopy backends to make image files
284+
# PyQt/PySide, PyGObject, Tkinter, wxPython, or macOS/Cocoa); also referred to
285+
# as "interactive backends") and hardcopy backends to make image files
286286
# (PNG, SVG, PDF, PS; also referred to as "non-interactive backends").
287287
#
288288
# Selecting a backend

0 commit comments

Comments
 (0)