File tree 3 files changed +10
-10
lines changed
3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 669
669
#path.snap: True # When True, rectilinear axis-aligned paths will be snapped
670
670
# to the nearest pixel when certain criteria are met.
671
671
# 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.
680
680
#path.effects:
681
681
#path.effects.withStroke: None # {"argument":value } passed to withStroke
682
682
Original file line number Diff line number Diff line change @@ -26,5 +26,5 @@ grid.linewidth: 0.0
26
26
figure.facecolor: white
27
27
28
28
# path
29
- path.sketch : ( 1, 100, 2)
29
+ path.sketch : 1, 100, 2
30
30
path.effects.withStroke : {"linewidth": 4, "foreground": 'w' }
Original file line number Diff line number Diff line change @@ -562,7 +562,7 @@ def validate_sketch(s):
562
562
try :
563
563
return tuple (_listify_validator (validate_float , n = 3 )(s ))
564
564
except ValueError :
565
- raise ValueError ("Expected a ( scale, length, randomness) triplet" )
565
+ raise ValueError ("Expected a ' scale, length, randomness' triplet" )
566
566
567
567
568
568
def _validate_greaterthan_minushalf (s ):
You can’t perform that action at this time.
0 commit comments