matplotlib / 3.5.1 / _as_gen / matplotlib.artist.artist.set_sketch_params.html /

matplotlib.artist.Artist.set_sketch_params

Artist. set_sketch_params ( scale=None, length=None, randomness=None ) [source]

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.

© 2012–2021 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.5.1/api/_as_gen/matplotlib.artist.Artist.set_sketch_params.html