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 ? Machine Learning
avec Scikit-Learn
Voir le programme détaillé
Classe « Path »

Méthode matplotlib.artist.Path.iter_bezier

Signature de la méthode iter_bezier

def iter_bezier(self, **kwargs) 

Description

help(Path.iter_bezier)

Iterate over each Bézier curve (lines included) in a `Path`.

Parameters
----------
**kwargs
    Forwarded to `.iter_segments`.

Yields
------
B : `~matplotlib.bezier.BezierSegment`
    The Bézier curves that make up the current path. Note in particular
    that freestanding points are Bézier curves of order 0, and lines
    are Bézier curves of order 1 (with two control points).
code : `~matplotlib.path.Path.code_type`
    The code describing what kind of curve is being returned.
    `MOVETO`, `LINETO`, `CURVE3`, and `CURVE4` correspond to
    Bézier curves with 1, 2, 3, and 4 control points (respectively).
    `CLOSEPOLY` is a `LINETO` with the control points correctly
    chosen based on the start/end points of the current stroke.


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