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 ? Programmation Python
Les fondamentaux
Voir le programme détaillé
Classe « LogLocator »

Constructeur matplotlib.pyplot.LogLocator.__init__

Signature de la constructeur __init__

def __init__(self, base=10.0, subs=(1.0,), *, numticks=None) 

Description

help(LogLocator.__init__)

Parameters
----------
base : float, default: 10.0
    The base of the log used, so major ticks are placed at ``base**n``, where
    ``n`` is an integer.
subs : None or {'auto', 'all'} or sequence of float, default: (1.0,)
    Gives the multiples of integer powers of the base at which to place ticks.
    The default of ``(1.0, )`` places ticks only at integer powers of the base.
    Permitted string values are ``'auto'`` and ``'all'``. Both of these use an
    algorithm based on the axis view limits to determine whether and how to put
    ticks between integer powers of the base:
    - ``'auto'``: Ticks are placed only between integer powers.
    - ``'all'``: Ticks are placed between *and* at integer powers.
    - ``None``: Equivalent to ``'auto'``.
numticks : None or int, default: None
    The maximum number of ticks to allow on a given axis. The default of
    ``None`` will try to choose intelligently as long as this Locator has
    already been assigned to an axis using `~.axis.Axis.get_tick_space`, but
    otherwise falls back to 9.


Vous êtes un professionnel et vous avez besoin d'une formation ? Mise en oeuvre d'IHM
avec Qt et PySide6
Voir le programme détaillé