set_size_inches(self, w, h=None, forward=True)
Call signatures:
fig.set_size_inches(w, h) # OR fig.set_size_inches((w, h))
To transform from pixels to inches divide by :None:None:`Figure.dpi`
.
Width and height in inches (if height not specified as a separate argument) or width.
Height in inches.
If True
, the canvas size is automatically updated, e.g., you can resize the figure window from the shell.
Set the figure size in inches.
The following pages refer to to this document either explicitly or contain code examples using this.
matplotlib.figure.Figure.set_figwidth
matplotlib.figure.Figure._set_dpi
matplotlib.figure.Figure.get_size_inches
matplotlib.figure.Figure.set_figheight
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