MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / get_sketch_params

Method get_sketch_params

lib/matplotlib/artist.py:690–708  ·  view source on GitHub ↗

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 t

(self)

Source from the content-addressed store, hash-verified

688 self.stale = True
689
690 def get_sketch_params(self):
691 """
692 Return the sketch parameters for the artist.
693
694 Returns
695 -------
696 tuple or None
697
698 A 3-tuple with the following elements:
699
700 - *scale*: The amplitude of the wiggle perpendicular to the
701 source line.
702 - *length*: The length of the wiggle along the line.
703 - *randomness*: The scale factor by which the length is
704 shrunken or expanded.
705
706 Returns *None* if no sketch parameters were set.
707 """
708 return self._sketch
709
710 def set_sketch_params(self, scale=None, length=None, randomness=None):
711 """

Callers 6

drawMethod · 0.45
drawMethod · 0.45
_print_pgf_pathMethod · 0.45
draw_pathMethod · 0.45
draw_pathMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected