8000 Fixes · matplotlib/matplotlib@0d4d3d5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0d4d3d5

Browse files
committed
Fixes
1 parent 3579224 commit 0d4d3d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2969,7 +2969,7 @@ def extract_err(err, data):
2969< 8000 /code>2969
# select points without upper/lower limits in x and
29702970
# draw normal errorbars for these points
29712971
noxlims = ~(xlolims | xuplims)
2972-
if noxlims.any():
2972+
if noxlims.any() or len(noxlims) == 0:
29732973
yo, _ = xywhere(y, right, noxlims & everymask)
29742974
lo, ro = xywhere(left, right, noxlims & everymask)
29752975
barcols.append(self.hlines(yo, lo, ro, **eb_lines_style))
@@ -2979,7 +2979,7 @@ def extract_err(err, data):
29792979
caplines.append(mlines.Line2D(ro, yo, marker='|',
29802980
**eb_cap_style))
29812981

2982-
if xlolims.any() or len(noxlims) == 0:
2982+
if xlolims.any():
29832983
yo, _ = xywhere(y, right, xlolims & everymask)
29842984
lo, ro = xywhere(x, right, xlolims & everymask)
29852985
barcols.append(self.hlines(yo, lo, ro, **eb_lines_style))

0 commit comments

Comments
 (0)
0