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 ? RAG (Retrieval-Augmented Generation)
et Fine Tuning d'un LLM
Voir le programme détaillé
Classe « Text »

Méthode matplotlib.figure.Text.set_fontfamily

Signature de la méthode set_fontfamily

def set_fontfamily(self, fontname) 

Description

help(Text.set_fontfamily)

Set the font family.  Can be either a single string, or a list of
strings in decreasing priority.  Each string may be either a real font
name or a generic font class name.  If the latter, the specific font
names will be looked up in the corresponding rcParams.

If a `Text` instance is constructed with ``fontfamily=None``, then the
font is set to :rc:`font.family`, and the
same is done when `set_fontfamily()` is called on an existing
`Text` instance.

Parameters
----------
fontname : {FONTNAME, 'serif', 'sans-serif', 'cursive', 'fantasy', 'monospace'}

See Also
--------
.font_manager.FontProperties.set_family


Vous êtes un professionnel et vous avez besoin d'une formation ? Machine Learning
avec Scikit-Learn
Voir le programme détaillé