@@ -1311,16 +1311,23 @@ def use(arg, warn=True, force=False):
13111311 """
13121312 Set the matplotlib backend to one of the known backends.
13131313
1314- To find out which backend is currently set, see
1315- :func:`matplotlib.get_backend`.
1316-
1317-
13181314 Parameters
13191315 ----------
13201316 arg : str
13211317 The backend to switch to. This can either be one of the
1322- 'standard' backend names or a string of the form
1323- ``module://my.module.name``. This value is case-insensitive.
1318+ 'standard' backend names:
1319+
1320+ - interactive backends:
1321+ GTK3Agg, GTK3Cairo, MacOSX, nbAgg,
1322+ Qt4Agg, Qt4Cairo, Qt5Agg, Qt5Cairo,
1323+ TkAgg, TkCairo, WebAgg, WX, WXAgg, WXCairo
1324+
1325+ - non-interactive backends:
1326+ agg, cairo, pdf, pgf, ps, svg, template
1327+
1328+ or a string of the form: ``module://my.module.name``.
1329+
1330+ Note: Standard backend names are case-insensitive here.
13241331
13251332 warn : bool, optional
13261333 If True, warn if this is called after pyplot has been imported
@@ -1332,7 +1339,10 @@ def use(arg, warn=True, force=False):
13321339 If True, attempt to switch the backend. This defaults to
13331340 False.
13341341
1335-
1342+ See Also
1343+ --------
1344+ :ref:`backends`
1345+ matplotlib.get_backend
13361346 """
13371347 name = validate_backend (arg )
13381348
@@ -1371,7 +1381,13 @@ def use(arg, warn=True, force=False):
13711381
13721382
13731383def get_backend ():
1374- """Return the name of the current backend."""
1384+ """
1385+ Return the name of the current backend.
1386+
1387+ See Also
1388+ --------
1389+ matplotlib.use
1390+ """
13751391 return rcParams ['backend' ]
13761392
13771393
0 commit comments