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 ? Mise en oeuvre d'IHM
avec Qt et PySide6
Voir le programme détaillé
Classe « ConstrainedLayoutEngine »

Constructeur matplotlib.figure.ConstrainedLayoutEngine.__init__

Signature de la constructeur __init__

def __init__(self, *, h_pad=None, w_pad=None, hspace=None, wspace=None, rect=(0, 0, 1, 1), compress=False, **kwargs) 

Description

help(ConstrainedLayoutEngine.__init__)

Initialize ``constrained_layout`` settings.

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.
compress : bool
    Whether to shift Axes so that white space in between them is
    removed. This is useful for simple grids of fixed-aspect Axes (e.g.
    a grid of images).  See :ref:`compressed_layout`.


Vous êtes un professionnel et vous avez besoin d'une formation ? Programmation Python
Les fondamentaux
Voir le programme détaillé