W3cubDocs

/Matplotlib 3.5

matplotlib.artist.Artist.get_sketch_params

Artist.get_sketch_params()[source]

Return the sketch parameters for the artist.

Returns
tuple or None

A 3-tuple with the following elements:

  • scale: The amplitude of the wiggle perpendicular to the source line.
  • length: The length of the wiggle along the line.
  • randomness: The scale factor by which the length is shrunken or expanded.

Returns None if no sketch parameters were set.

© 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.get_sketch_params.html