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 @@ -2969,7 +2969,7 @@ def extract_err(err, data):
2969<
8000
/code>
2969
# select points without upper/lower limits in x and
2970
2970
# draw normal errorbars for these points
2971
2971
noxlims = ~ (xlolims | xuplims )
2972
- if noxlims .any ():
2972
+ if noxlims .any () or len ( noxlims ) == 0 :
2973
2973
yo , _ = xywhere (y , right , noxlims & everymask )
2974
2974
lo , ro = xywhere (left , right , noxlims & everymask )
2975
2975
barcols .append (self .hlines (yo , lo , ro , ** eb_lines_style ))
@@ -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 () or len ( noxlims ) == 0 :
2982
+ if xlolims .any ():
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 ))
You can’t perform that action at this time.
0 commit comments