File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2979,7 +2979,7 @@ def extract_err(err, data):
2979
2979
caplines .append (mlines .Line2D (ro , yo , marker = '|' ,
2980
2980
** eb_cap_style ))
2981
2981
2982
- if xlolims .any ():
2982
+ if xlolims .any () or len ( noxlims ) == 0 :
2983
2983
yo , _ = xywhere (y , right , xlolims & everymask )
2984
2984
lo , ro = xywhere (x , right , xlolims & everymask )
2985
2985
barcols .append (self .hlines (yo , lo , ro , ** eb_lines_style ))
@@ -3018,7 +3018,7 @@ def extract_err(err, data):
3018
3018
# select points without upper/lower limits in y and
3019
3019
# draw normal errorbars for these points
3020
3020
noylims = ~ (lolims | uplims )
3021
- if noylims .any ():
3021
+ if noylims .any () or len ( noylims ) == 0 :
3022
3022
xo , _ = xywhere (x , lower , noylims & everymask )
3023
3023
lo , uo = xywhere (lower , upper , noylims & everymask )
3024
3024
barcols .append (self .vlines (xo , lo , uo , ** eb_lines_style ))
You can’t perform that action at this time.
0 commit comments