@@ -1116,7 +1116,7 @@ def axvspan(self, xmin, xmax, ymin=0, ymax=1, **kwargs):
11161116
11171117 @_preprocess_data (replace_names = ["y" , "xmin" , "xmax" , "colors" ],
11181118 label_namer = "y" )
1119- def hlines (self , y , xmin , xmax , colors = 'k' , linestyles = 'solid' ,
1119+ def hlines (self , y , xmin , xmax , colors = None , linestyles = 'solid' ,
11201120 label = '' , ** kwargs ):
11211121 """
11221122 Plot horizontal lines at each *y* from *xmin* to *xmax*.
@@ -1130,7 +1130,7 @@ def hlines(self, y, xmin, xmax, colors='k', linestyles='solid',
11301130 Respective beginning and end of each line. If scalars are
11311131 provided, all lines will have same length.
11321132
1133- colors : list of colors, default: 'k'
1133+ colors : list of colors, default: :rc:`lines.color`
11341134
11351135 linestyles : {'solid', 'dashed', 'dashdot', 'dotted'}, optional
11361136
@@ -1196,7 +1196,7 @@ def hlines(self, y, xmin, xmax, colors='k', linestyles='solid',
11961196
11971197 @_preprocess_data (replace_names = ["x" , "ymin" , "ymax" , "colors" ],
11981198 label_namer = "x" )
1199- def vlines (self , x , ymin , ymax , colors = 'k' , linestyles = 'solid' ,
1199+ def vlines (self , x , ymin , ymax , colors = None , linestyles = 'solid' ,
12001200 label = '' , ** kwargs ):
12011201 """
12021202 Plot vertical lines.
@@ -1212,7 +1212,7 @@ def vlines(self, x, ymin, ymax, colors='k', linestyles='solid',
12121212 Respective beginning and end of each line. If scalars are
12131213 provided, all lines will have same length.
12141214
1215- colors : list of colors, default: 'k'
1215+ colors : list of colors, default: :rc:`lines.color`
12161216
12171217 linestyles : {'solid', 'dashed', 'dashdot', 'dotted'}, optional
12181218
0 commit comments