matplotlib 3.5.1

NotesParametersBackRef
use(style)

The style name of 'default' is reserved for reverting back to the default style settings.

note

This updates the :None:None:`.rcParams` with the settings from the style. :None:None:`.rcParams` not defined in the style are kept.

Notes

The following :None:None:`.rcParams` are not related to style and will be ignored if found in a style specification:

Parameters

style : str, dict, Path or list

A style specification. Valid options are:

+------+-------------------------------------------------------------+ | str | The name of a style or a path/URL to a style file. For a | | | list of available style names, see :None:None:`.style.available`. | +------+-------------------------------------------------------------+ | dict | Dictionary with valid key/value pairs for | | | :None:None:`matplotlib.rcParams`. | +------+-------------------------------------------------------------+ | Path | A path-like object which is a path to a style file. | +------+-------------------------------------------------------------+ | list | A list of style specifiers (str, Path or dict) applied from | | | first to last in the list. | +------+-------------------------------------------------------------+

Use Matplotlib style settings from a style specification.

Examples

See :

Back References

The following pages refer to to this document either explicitly or contain code examples using this.

matplotlib.pyplot.rcdefaults matplotlib.rcdefaults

Local connectivity graph

Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.

Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)

SVG is more flexible but power hungry; and does not scale well to 50 + nodes.

All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them


File: /matplotlib/style/core.py#65
type: <class 'function'>
Commit: