File tree 2 files changed +1
-7
lines changed
2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change 146
146
## Patches are graphical objects that fill 2D space, like polygons or circles.
147
147
## See https://matplotlib.org/api/artist_api.html#module-matplotlib.patches
148
148
## for more information on patch properties.
149
- #patch.linewidth: 1 # edge width in points.
149
+ #patch.linewidth: 1.0 # edge width in points.
150
150
#patch.facecolor: C0
151
151
#patch.edgecolor: black # if forced, or patch is not filled
152
152
#patch.force_edgecolor: False # True to always use edgecolor
Original file line number Diff line number Diff line change @@ -63,16 +63,12 @@ def __init__(self,
63
63
"""
64
64
super ().__init__ ()
65
65
66
- if linewidth is None :
67
- linewidth = mpl .rcParams ['patch.linewidth' ]
68
66
if linestyle is None :
69
67
linestyle = "solid"
70
68
if capstyle is None :
71
69
capstyle = CapStyle .butt
72
70
if joinstyle is None :
73
71
joinstyle = JoinStyle .miter
74
- if antialiased is None :
75
- antialiased = mpl .rcParams ['patch.antialiased' ]
76
72
77
73
self ._hatch_color = colors .to_rgba (mpl .rcParams ['hatch.color' ])
78
74
self ._fill = True # needed for set_facecolor call
@@ -393,8 +389,6 @@ def set_linewidth(self, w):
393
389
"""
394
390
if w is None :
395
391
w = mpl .rcParams ['patch.linewidth' ]
396
- if w is None :
397
- w = mpl .rcParams ['axes.linewidth' ]
398
392
self ._linewidth = float (w )
399
393
self ._dash_pattern = mlines ._scale_dashes (
400
394
* self ._unscaled_dash_pattern , w )
You can’t perform that action at this time.
0 commit comments