Skip to content
Open
Changes from all commits
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
9 changes: 9 additions & 0 deletions galleries/users_explain/figure/backends.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ PyQt/PySide, PyGObject, Tkinter, wxPython, or macOS/Cocoa); also referred to
as "interactive backends") and hardcopy backends to make image files
(PNG, SVG, PDF, PS; also referred to as "non-interactive backends").

.. _selecting-a-backend:

Selecting a backend
-------------------

Expand Down Expand Up @@ -99,6 +101,13 @@ Here is a detailed description of the configuration methods:
use a different backend. Therefore, you should avoid explicitly calling
`~matplotlib.use` unless absolutely necessary.

.. note::
On WSL2, WSLg should make interactive backends work without a separate
X server when a supported GUI toolkit is installed. If it does not,
check that WSLg is running and that ``DISPLAY`` or ``WAYLAND_DISPLAY`` is
defined. For headless WSL sessions, use the non-interactive ``Agg``
backend. See :ref:`the-builtin-backends` and :ref:`selecting-a-backend`.

.. _the-builtin-backends:

The builtin backends
Expand Down
Loading