matplotlib.artist.Artist.set_sketch_params

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

Sets the sketch parameters.

Parameters:
scalefloat, 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.

lengthfloat, optional

The length of the wiggle along the line, in pixels (default 128.0)

randomnessfloat, optional

The scale factor by which the length is shrunken or expanded (default 16.0)

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