matplotlib.pyplot.rgrids(*args, **kwargs)[source]¶Get or set the radial gridlines on the current polar plot.
Call signatures:
lines, labels = rgrids()
lines, labels = rgrids(radii, labels=None, angle=22.5, fmt=None, **kwargs)
When called with no arguments, rgrids simply returns the tuple
(lines, labels). When called with arguments, the labels will
appear at the specified radial distances and angle.
| Parameters: |
|
|---|---|
| Returns: |
|
| Other Parameters: |
|
See also
pyplot.thetagrids, projections.polar.PolarAxes.set_rgrids, Axis.get_gridlines, Axis.get_ticklabels
Examples
# set the locations of the radial gridlines
lines, labels = rgrids( (0.25, 0.5, 1.0) )
# set the locations and labels of the radial gridlines
lines, labels = rgrids( (0.25, 0.5, 1.0), ('Tom', 'Dick', 'Harry' ))