@@ -221,7 +221,7 @@ def test_hist2d(self):
221
221
@mpl .style .context ("default" )
222
222
def test_hlines (self ):
223
223
mpl .rcParams ["date.converter" ] = 'concise'
224
- fig , axs = plt .subplots (2 , 3 , layout = 'constrained' )
224
+ fig , axs = plt .subplots (2 , 4 , layout = 'constrained' )
225
225
dateStrs = ['2023-03-08' ,
226
226
'2023-04-09' ,
227
227
'2023-05-13' ,
@@ -240,6 +240,9 @@ def test_hlines(self):
240
240
axs [0 , 2 ].hlines (dates ,
241
241
xmin = date_start ,
242
242
xmax = date_end )
243
+ axs [0 , 3 ].hlines (dates ,
244
+ xmin = 0.45 ,
245
+ xmax = 0.65 )
243
246
axs [1 , 0 ].hlines (y = npDates ,
244
247
xmin = [0.5 , 0.6 , 0.7 , 0.8 , 0.9 ],
245
248
xmax = [0.1 , 0.2 , 0.3 , 0.4 , 0.5 ])
@@ -249,6 +252,9 @@ def test_hlines(self):
249
252
axs [1 , 1 ].hlines (npDates ,
250
253
xmin = datetime .datetime (2020 , 5 , 10 ),
251
254
xmax = datetime .datetime (2020 , 5 , 31 ))
255
+ axs [1 , 3 ].hlines (npDates ,
256
+ xmin = 0.45 ,
257
+ xmax = 0.65 )
252
258
253
259
@pytest .mark .xfail (reason = "Test for imshow not written yet" )
254
260
@mpl .style .context ("default" )
0 commit comments