matplotlib.axis.XTick.get_sketch_params

XTick.get_sketch_params(self)

Returns the sketch parameters for the artist.

Returns:
sketch_paramstuple 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.