10000 oops; failed to commit after fixing this little bugaboo; should have … · matplotlib/matplotlib@d65269d · GitHub
[go: up one dir, main page]

Skip to content

Commit d65269d

Browse files
committed
oops; failed to commit after fixing this little bugaboo; should have been len(y) instead of len(x)
1 parent 554bd48 commit d65269d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/axes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3626,7 +3626,7 @@ def hlines(self, y, xmin, xmax, colors='k', linestyles='solid',
36263626
self.add_collection(coll)
36273627
coll.update(kwargs)
36283628

3629-
if len(x) > 0:
3629+
if len(y) > 0:
36303630
minx = min(xmin.min(), xmax.min())
36313631
maxx = max(xmin.max(), xmax.max())
36323632
miny = y.min()

0 commit comments

Comments
 (0)
0