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 ? Coder avec une
Intelligence Artificielle
Voir le programme détaillé
Classe « Artist »

Méthode matplotlib.figure.Artist.set_sketch_params

Signature de la méthode set_sketch_params

def set_sketch_params(self, scale=None, length=None, randomness=None) 

Description

help(Artist.set_sketch_params)

Set the sketch parameters.

Parameters
----------
scale : float, optional
    The amplitude of the wiggle perpendicular to the source
    line, in pixels.  If scale is `None`, or not provided, no
    sketch filter will be provided.
length : float, optional
     The length of the wiggle along the line, in pixels
     (default 128.0)
randomness : float, optional
    The scale factor by which the length is shrunken or
    expanded (default 16.0)

    The PGF backend uses this argument as an RNG seed and not as
    described above. Using the same seed yields the same random shape.

    .. ACCEPTS: (scale: float, length: float, randomness: float)


Vous êtes un professionnel et vous avez besoin d'une formation ? Sensibilisation à
l'Intelligence Artificielle
Voir le programme détaillé