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 ? Deep Learning avec Python
et Keras et Tensorflow
Voir le programme détaillé
Classe « ConstrainedLayoutEngine »

Méthode matplotlib.figure.ConstrainedLayoutEngine.set

Signature de la méthode set

def set(self, *, h_pad=None, w_pad=None, hspace=None, wspace=None, rect=None) 

Description

help(ConstrainedLayoutEngine.set)

Set the pads for constrained_layout.

Parameters
----------
h_pad, w_pad : float
    Padding around the Axes elements in inches.
    Default to :rc:`figure.constrained_layout.h_pad` and
    :rc:`figure.constrained_layout.w_pad`.
hspace, wspace : float
    Fraction of the figure to dedicate to space between the
    axes.  These are evenly spread between the gaps between the Axes.
    A value of 0.2 for a three-column layout would have a space
    of 0.1 of the figure width between each column.
    If h/wspace < h/w_pad, then the pads are used instead.
    Default to :rc:`figure.constrained_layout.hspace` and
    :rc:`figure.constrained_layout.wspace`.
rect : tuple of 4 floats
    Rectangle in figure coordinates to perform constrained layout in
    (left, bottom, width, height), each from 0-1.


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é