matplotlib 3.5.1

Parameters
_rc_params_in_file(fname, transform=<function <lambda> at 0x0000000>, fail_on_error=False)

Unlike rc_params_from_file , the configuration class only contains the parameters specified in the file (i.e. default values are not filled in).

Parameters

fname : path-like

The loaded file.

transform : callable, default: the identity function

A function called on each individual line of the file to transform it, before further parsing.

fail_on_error : bool, default: False

Whether invalid entries should result in an exception or a warning.

Construct a RcParams instance from file fname.

Examples

See :

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/__init__.py#759
type: <class 'function'>
Commit: