@@ -460,14 +460,20 @@ def set_snap(self, snap):
460460
461461 def get_sketch_params (self ):
462462 """
463- Returns the sketch parameters, which is a tuple with three elements:
463+ Returns the sketch parameters for the artist.
464464
465- * *scale*: The amplitude of the wiggle perpendicular to the
465+ Returns
466+ -------
467+ sketch_params : tuple or `None`
468+
469+ A 3-tuple with the following elements:
470+
471+ * `scale`: The amplitude of the wiggle perpendicular to the
466472 source line.
467473
468- * * length* : The length of the wiggle along the line.
474+ * ` length` : The length of the wiggle along the line.
469475
470- * * randomness* : The scale factor by which the length is
476+ * ` randomness` : The scale factor by which the length is
471477 shrunken or expanded.
472478
473479 May return `None` if no sketch parameters were set.
@@ -476,18 +482,23 @@ def get_sketch_params(self):
476482
477483 def set_sketch_params (self , scale = None , length = None , randomness = None ):
478484 """
479- Sets the the sketch parameters:
485+ Sets the the sketch parameters.
480486
481- * *scale*: The amplitude of the wiggle perpendicular to the
482- source line, in pixels.
487+ Parameters
488+ ----------
483489
484- * *length*: The length of the wiggle along the line, in
485- pixels (default 128.0)
490+ scale : float, optional
491+ The amplitude of the wiggle perpendicular to the source
492+ line, in pixels. If scale is `None`, or not provided, no
493+ sketch filter will be provided.
486494
487- * *randomness*: The scale factor by which the length is
488- shrunken or expanded (default 16.0)
495+ length : float, optional
496+ The length of the wiggle along the line, in pixels
497+ (default 128.0)
489498
490- If *scale* is None, no wiggling will be set.
499+ randomness : float, optional
500+ The scale factor by which the length is shrunken or
501+ expanded (default 16.0)
491502 """
492503 if scale is None :
493504 self ._sketch = None
0 commit comments