matplotlib 3.5.1

Other ParametersParametersReturnsBackRef
set_rgrids(self, radii, labels=None, angle=None, fmt=None, **kwargs)

Other Parameters

**kwargs :

kwargs are optional :None:None:`.Text` properties for the labels.

Parameters

radii : tuple with floats

The radii for the radial gridlines

labels : tuple with strings or None

The labels to use at each radial gridline. The matplotlib.ticker.ScalarFormatter will be used if None.

angle : float

The angular position of the radius labels in degrees.

fmt : str or None

Format string used in matplotlib.ticker.FormatStrFormatter . For example '%f'.

Returns

lines : list of `.lines.Line2D`

The radial gridlines.

labels : list of `.text.Text`

The tick labels.

Set the radial gridlines on a polar plot.

See Also

.Axis.get_gridlines
.Axis.get_ticklabels
.PolarAxes.set_thetagrids

Examples

See :

Back References

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

matplotlib.pyplot.rgrids matplotlib.projections.polar.PolarAxes.set_thetagrids

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/projections/polar.py#1328
type: <class 'function'>
Commit: