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é
Module « matplotlib.pyplot »

Classe « FormatStrFormatter »

Informations générales

Héritage

builtins.object
    TickHelper
        Formatter
            FormatStrFormatter

Définition

class FormatStrFormatter(Formatter):

help(FormatStrFormatter)

Use an old-style ('%' operator) format string to format the tick.

The format string should have a single variable format (%) in it.
It will be applied to the value (not the position) of the tick.

Negative numeric values (e.g., -1) will use a dash, not a Unicode minus;
use mathtext to get a Unicode minus by wrapping the format specifier with $
(e.g. "$%g$").

Constructeur(s)

Signature du constructeur Description
__init__(self, fmt)

Liste des attributs statiques

Nom de l'attribut Valeur
axisNone
locs[]

Liste des opérateurs

Opérateurs hérités de la classe object

__eq__, __ge__, __gt__, __le__, __lt__, __ne__

Liste des méthodes

Toutes les méthodes Méthodes d'instance Méthodes statiques Méthodes dépréciées
Signature de la méthodeDescription
__call__(self, x, pos=None)

Méthodes héritées de la classe Formatter

__init_subclass__, __subclasshook__, fix_minus, format_data, format_data_short, format_ticks, get_offset, set_locs

Méthodes héritées de la classe TickHelper

create_dummy_axis, set_axis

Méthodes héritées de la classe object

__delattr__, __dir__, __format__, __getattribute__, __getstate__, __hash__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__

Vous êtes un professionnel et vous avez besoin d'une formation ? Coder avec une
Intelligence Artificielle
Voir le programme détaillé