Vous êtes un professionnel et vous avez besoin d'une formation ?
Coder avec une Intelligence Artificielle
Voir le programme détaillé
Module « matplotlib.artist »
Classe « BboxBase »
Informations générales
Héritage
builtins.object
TransformNode
BboxBase
Définition
class BboxBase (TransformNode):
help(BboxBase )
The base class of all bounding boxes.
This class is immutable; `Bbox` is a mutable subclass.
The canonical representation is as two points, with no
restrictions on their ordering. Convenience properties are
provided to get the left, bottom, right and top edges and width
and height, but these are not stored explicitly.
Constructeur(s)
Liste des attributs statiques
coefs {'C': (0.5, 0.5), 'SW': (0, 0), 'S': (0.5, 0), 'SE': (1.0, 0), 'E': (1.0, 0.5), 'NE': (1.0, 1.0), 'N': (0.5, 1.0), 'NW': (0, 1.0), 'W': (0, 0.5)}
is_affine True
is_bbox True
pass_through False
Liste des propriétés
bounds Return (:attr:`x0`, :attr:`y0`, :attr:`width`, :attr:`height`). [extrait de bounds.__doc__ ]
extents Return (:attr:`x0`, :attr:`y0`, :attr:`x1`, :attr:`y1`). [extrait de extents.__doc__ ]
height The (signed) height of the bounding box. [extrait de height.__doc__ ]
intervalx
intervaly
max The top-right corner of the bounding box. [extrait de max.__doc__ ]
min The bottom-left corner of the bounding box. [extrait de min.__doc__ ]
p0
p1
size The (signed) width and height of the bounding box. [extrait de size.__doc__ ]
width The (signed) width of the bounding box. [extrait de width.__doc__ ]
x0
x1
xmax The right edge of the bounding box. [extrait de xmax.__doc__ ]
xmin The left edge of the bounding box. [extrait de xmin.__doc__ ]
y0
y1
ymax The top edge of the bounding box. [extrait de ymax.__doc__ ]
ymin The bottom edge of the bounding box. [extrait de ymin.__doc__ ]
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
__array__(self, *args, **kwargs)
anchored(self, c, container)
contains(self, x, y)
containsx(self, x)
containsy(self, y)
corners(self)
count_contains(self, vertices)
count_overlaps(self, bboxes)
expanded(self, sw, sh)
frozen(self)
fully_contains(self, x, y)
fully_containsx(self, x)
fully_containsy(self, y)
fully_overlaps(self, other)
get_points(self)
intersection(bbox1, bbox2)
overlaps(self, other)
padded(self, w_pad, h_pad=None)
rotated(self, radians)
shrunk(self, mx, my)
shrunk_to_aspect(self, box_aspect, container=None, fig_aspect=1.0)
splitx(self, *args)
splity(self, *args)
transformed(self, transform)
translated(self, tx, ty)
Construct a `Bbox` by translating this one by *tx* and *ty*. [extrait de translated.__doc__ ]
union(bboxes)
Return a `Bbox` that contains all of the given *bboxes*. [extrait de union.__doc__ ]
Méthodes héritées de la classe TransformNode
__copy__, __getstate__, __init_subclass__, __setstate__, __subclasshook__, invalidate, set_children
Méthodes héritées de la classe object
__delattr__ ,
__dir__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__
Vous êtes un professionnel et vous avez besoin d'une formation ?
Machine Learning avec Scikit-Learn
Voir le programme détaillé
2025 © SARL Infini Software - Tous droits réservés
Mentions légales
Les informations présentes dans ce site vous sont fournies dans le but de vous aider à acquérir les compétences nécessaires à
l'utilisation des langages ou des technologies considérés. Infini Software ne pourra nullement être tenu responsable de l'utilisation
des informations présentes dans ce site.
De plus, si vous remarquez des erreurs ou des oublis dans ce document, n'hésitez surtout pas à nous le signaler en envoyant un mail
à l'adresse : .
Les autres marques et les noms de produits cités dans ces documents sont la propriété de leurs éditeurs respectifs.
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 :