Permalink
Browse files

oops; failed to commit after fixing this little bugaboo; should have …

…been len(y) instead of len(x)
  • Loading branch information...
1 parent 554bd48 commit d65269db2bce724a9853b763264ca4ef8980b38d @dhyams committed Jul 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/matplotlib/axes.py
View
@@ -3626,7 +3626,7 @@ def hlines(self, y, xmin, xmax, colors='k', linestyles='solid',
self.add_collection(coll)
coll.update(kwargs)
- if len(x) > 0:
+ if len(y) > 0:
minx = min(xmin.min(), xmax.min())
maxx = max(xmin.max(), xmax.max())
miny = y.min()

0 comments on commit d65269d

Please sign in to comment.