Skip to content

Commit

Permalink
Merge remote-tracking branch 'matplotlib/v1.5.x' into v2.x
Browse files Browse the repository at this point in the history
Conflicts:
	lib/matplotlib/tests/baseline_images/test_path/xkcd.pdf
	lib/matplotlib/tests/baseline_images/test_path/xkcd.png
	lib/matplotlib/tests/baseline_images/test_path/xkcd.svg
           images from master branch used
	lib/matplotlib/tests/test_axes.py
            kept both tests
  • Loading branch information
tacaswell committed Dec 29, 2015
2 parents 144aa6b + 781000c commit dcf50b3
Show file tree
Hide file tree
Showing 6 changed files with 12,039 additions and 11,987 deletions.
12 changes: 10 additions & 2 deletions lib/matplotlib/axes/_axes.py
Original file line number Diff line number Diff line change
Expand Up @@ -2336,8 +2336,16 @@ def broken_barh(self, xranges, yrange, **kwargs):
.. plot:: mpl_examples/pylab_examples/broken_barh.py
"""
# process the unit information
self._process_unit_info(xdata=xranges[0],
ydata=yrange[0],
if len(xranges):
xdata = six.next(iter(xranges))
else:
xdata = None
if len(yrange):
ydata = six.next(iter(yrange))
else:
ydata = None
self._process_unit_info(xdata=xdata,
ydata=ydata,
kwargs=kwargs)
xranges = self.convert_xunits(xranges)
yrange = self.convert_yunits(yrange)
Expand Down
Binary file modified lib/matplotlib/tests/baseline_images/test_path/xkcd.pdf
Binary file not shown.
Binary file modified lib/matplotlib/tests/baseline_images/test_path/xkcd.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit dcf50b3

Please sign in to comment.