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

Skip to content

Commit ca42fca

Browse files
authored
Merge pull request matplotlib#20664 from anntzer/wd
2 parents 75439d3 + 9aa80dc commit ca42fca

File tree

2 files changed

+4
-13
lines changed

2 files changed

+4
-13
lines changed

doc/faq/environment_variables_faq.rst

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,6 @@ Environment variables
77
.. contents::
88
:backlinks: none
99

10-
11-
.. envvar:: DISPLAY
12-
13-
The server and screen on which to place windows. This is interpreted by GUI
14-
toolkits in a backend-specific manner, but generally refers to an `X.org
15-
display name
16-
<https://www.x.org/releases/X11R7.7/doc/man/man7/X.7.xhtml#heading5>`_.
17-
1810
.. envvar:: HOME
1911

2012
The user's home directory. On Linux, :envvar:`~ <HOME>` is shorthand for :envvar:`HOME`.

tutorials/introductory/usage.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -299,11 +299,10 @@ def my_plotter(ax, data1, data2, param_dict):
299299
#
300300
# Without a backend explicitly set, Matplotlib automatically detects a usable
301301
# backend based on what is available on your system and on whether a GUI event
302-
# loop is already running. On Linux, if the environment variable
303-
# :envvar:`DISPLAY` is unset, the "event loop" is identified as "headless",
304-
# which causes a fallback to a noninteractive backend (agg); in all other
305-
# cases, an interactive backend is preferred (usually, at least tkagg will be
306-
# available).
302+
# loop is already running. The first usable backend in the following list is
303+
# selected: MacOSX, Qt5Agg, Gtk3Agg, TkAgg, WxAgg, Agg. The last, Agg, is a
304+
# non-interactive backend that can only write to files. It is used on Linux,
305+
# if Matplotlib cannot connect to either an X display or a Wayland display.
307306
#
308307
# Here is a detailed description of the configuration methods:
309308
#

0 commit comments

Comments
 (0)