Further improve backend tutorial. · matplotlib/matplotlib@2272a3e · GitHub
Skip to content

Commit 2272a3e

Browse files
committed
Further improve backend tutorial.
1) Don't do `use("ps")` (in practice one never needs to set that backend manually as we autoswitch to "ps" when saving a postscript); instead have `use("qt5agg")` as example. 2) The requirement to call `use()` before importing pyplot is obsolete. Actually even "use() needs to be called before creating any figure" is a bit too restrictive because switching to noninteractive backends is always possible... but no need to go into this in the intro tutorial. 3) Reword description of "default" backend selection.
1 parent 0f54425 commit 2272a3e

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

tutorials/introductory/usage.py

Lines changed: 10 additions & 10 deletions

0 commit comments

Comments
 (0)