Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Vous êtes un professionnel et vous avez besoin d'une formation ? Sensibilisation à
l'Intelligence Artificielle
Voir le programme détaillé
Classe « PolarAxes »

Méthode matplotlib.pyplot.PolarAxes.set_thetagrids

Signature de la méthode set_thetagrids

def set_thetagrids(self, angles, labels=None, fmt=None, **kwargs) 

Description

help(PolarAxes.set_thetagrids)

Set the theta gridlines in a polar plot.

Parameters
----------
angles : tuple with floats, degrees
    The angles of the theta gridlines.

labels : tuple with strings or None
    The labels to use at each theta gridline. The
    `.projections.polar.ThetaFormatter` will be used if None.

fmt : str or None
    Format string used in `matplotlib.ticker.FormatStrFormatter`.
    For example '%f'. Note that the angle that is used is in
    radians.

Returns
-------
lines : list of `.lines.Line2D`
    The theta gridlines.

labels : list 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_rgrids
.Axis.get_gridlines
.Axis.get_ticklabels


Vous êtes un professionnel et vous avez besoin d'une formation ? Programmation Python
Les fondamentaux
Voir le programme détaillé