Skip to content

Commit 6d093a5

Browse files
authored
Document preference order for backend auto selection
If I understand matplotlib#11600 correctly, this is the order in which backends are tried. It would be nice to document this, especially for those who need to decide whether to override it.
1 parent ca444e2 commit 6d093a5

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

matplotlibrc.template

+6-4
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,15 @@
2929

3030
##### CONFIGURATION BEGINS HERE
3131

32-
## The default backend; one of GTK3Agg GTK3Cairo MacOSX Qt4Agg Qt5Agg TkAgg
33-
## WX WXAgg Agg Cairo PS PDF SVG Template.
32+
## The default backend. If you omit this parameter, the first
33+
## working backend from the following list is used:
34+
## MacOSX Qt5Agg Qt4Agg Gtk3Agg GTK3Cairo TkAgg WxAgg Agg Cairo
35+
##
36+
## Other choices include: WX PS PDF SVG Template.
37+
##
3438
## You can also deploy your own backend outside of matplotlib by
3539
## referring to the module name (which must be in the PYTHONPATH) as
3640
## 'module://my_backend'.
37-
##
38-
## If you omit this parameter, the backend will be determined by fallback.
3941
#backend : Agg
4042

4143
## Note that this can be overridden by the environment variable

0 commit comments

Comments
 (0)