File tree Expand file tree Collapse file tree 3 files changed +10
-10
lines changed
Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 669669#path.snap: True # When True, rectilinear axis-aligned paths will be snapped
670670 # to the nearest pixel when certain criteria are met.
671671 # When False, paths will never be snapped.
672- #path.sketch: None # May be None, or a 3-tuple of the form:
673- # ( scale, length, randomness).
674- # - *scale* is the amplitude of the wiggle
675- # perpendicular to the line (in pixels).
676- # - *length* is the length of the wiggle along the
677- # line (in pixels).
678- # - *randomness* is the factor by which the length is
679- # randomly scaled.
672+ #path.sketch: None # May be None, or a triplet of the form:
673+ # path.sketch: scale, length, randomness
674+ # - *scale* is the amplitude of the wiggle
675+ # perpendicular to the line (in pixels).
676+ # - *length* is the length of the wiggle along the
677+ # line (in pixels).
678+ # - *randomness* is the factor by which the length is
679+ # randomly scaled.
680680#path.effects:
681681#path.effects.withStroke: None # {"argument":value } passed to withStroke
682682
Original file line number Diff line number Diff line change @@ -26,5 +26,5 @@ grid.linewidth: 0.0
2626figure.facecolor: white
2727
2828# path
29- path.sketch : ( 1, 100, 2)
29+ path.sketch : 1, 100, 2
3030path.effects.withStroke : {"linewidth": 4, "foreground": 'w' }
Original file line number Diff line number Diff line change @@ -562,7 +562,7 @@ def validate_sketch(s):
562562 try :
563563 return tuple (_listify_validator (validate_float , n = 3 )(s ))
564564 except ValueError :
565- raise ValueError ("Expected a ( scale, length, randomness) triplet" )
565+ raise ValueError ("Expected a ' scale, length, randomness' triplet" )
566566
567567
568568def _validate_greaterthan_minushalf (s ):
You can’t perform that action at this time.
0 commit comments