-
foxes.utils.TabWindroseAxes.set_rgrids(radii, labels=
None
, angle=None
, fmt=None
, **kwargs) Set the radial gridlines on a polar plot.
Parameters¶
- radiituple with floats
The radii for the radial gridlines
- labelstuple with strings or None
The labels to use at each radial gridline. The matplotlib.ticker.ScalarFormatter will be used if None.
- anglefloat
The angular position of the radius labels in degrees.
- fmtstr or None
Format string used in matplotlib.ticker.FormatStrFormatter. For example ‘%f’.
Returns¶
- lineslist of .lines.Line2D
The radial gridlines.
- labelslist of .text.Text
The tick labels.
Other Parameters¶
- **kwargs
kwargs are optional .Text properties for the labels.
Warning
This only sets the properties of the current ticks. Ticks are not guaranteed to be persistent. Various operations can create, delete and modify the Tick instances. There is an imminent risk that these settings can get lost if you work on the figure further (including also panning/zooming on a displayed figure).
Use .set_tick_params instead if possible.
See Also¶
.PolarAxes.set_thetagrids .Axis.get_gridlines .Axis.get_ticklabels