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 « Figure »

Méthode matplotlib.figure.Figure.set_constrained_layout

Signature de la méthode set_constrained_layout

def set_constrained_layout(self, constrained) 

Description

help(Figure.set_constrained_layout)

[*Deprecated*] Set whether ``constrained_layout`` is used upon drawing.

If None, :rc:`figure.constrained_layout.use` value will be used.

When providing a dict containing the keys ``w_pad``, ``h_pad``
the default ``constrained_layout`` paddings will be
overridden.  These pads are in inches and default to 3.0/72.0.
``w_pad`` is the width padding and ``h_pad`` is the height padding.

Parameters
----------
constrained : bool or dict or None

Notes
-----
.. deprecated:: 3.6
   Use set_layout_engine('constrained') instead.


Vous êtes un professionnel et vous avez besoin d'une formation ? Calcul scientifique
avec Python
Voir le programme détaillé