Closed
Description
These passed on numpy 1.8/matplotlib 1.3.1 on 34-64 windows
just updated and now failing
======================================================================
ERROR: test_boxplot_empty_column (pandas.tests.test_graphics.TestDataFramePlots)
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\Users\Jeff Reback\Documents\GitHub\pandas\build\lib.win-amd64-3.4\pandas\tests\test_graphics.py", line 1980, in test_boxplot_empty_column
_check_plot_works(df.boxplot, return_type='axes')
File "c:\Users\Jeff Reback\Documents\GitHub\pandas\build\lib.win-amd64-3.4\pandas\tests\test_graphics.py", line 3349, in _check_plot_works
ret = f(*args, **kwargs)
File "c:\Users\Jeff Reback\Documents\GitHub\pandas\build\lib.win-amd64-3.4\pandas\core\frame.py", line 4921, in boxplot
**kwds)
File "c:\Users\Jeff Reback\Documents\GitHub\pandas\build\lib.win-amd64-3.4\pandas\tools\plotting.py", line 2634, in boxplot
result = plot_group(columns, data.values.T, ax)
File "c:\Users\Jeff Reback\Documents\GitHub\pandas\build\lib.win-amd64-3.4\pandas\tools\plotting.py", line 2585, in plot_group
bp = ax.boxplot(values, **kwds)
File "C:\Python34-64\lib\site-packages\matplotlib\axes\_axes.py", line 3045, in boxplot
labels=labels)
File "C:\Python34-64\lib\site-packages\matplotlib\cbook.py", line 1965, in boxplot_stats
q1, med, q3 = np.percentile(x, [25, 50, 75])
File "C:\Python34-64\lib\site-packages\numpy\lib\function_base.py", line 3042, in percentile
interpolation=interpolation)
File "C:\Python34-64\lib\site-packages\numpy\lib\function_base.py", line 2791, in _ureduce
r = func(a, **kwargs)
File "C:\Python34-64\lib\site-packages\numpy\lib\function_base.py", line 3131, in _percentile
x1 = take(ap, indices_below, axis=axis) * weights_below
File "C:\Python34-64\lib\site-packages\numpy\core\fromnumeric.py", line 121, in take
return take(indices, axis, out, mode)
IndexError: cannot do a non-empty take from an empty axes.
======================================================================
FAIL: test_boxplot (pandas.tests.test_graphics.TestDataFramePlots)
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\Users\Jeff Reback\Documents\GitHub\pandas\build\lib.win-amd64-3.4\pandas\tests\test_graphics.py", line 1794, in test_boxplot
self.assertEqual(len(ax.lines), 8 * len(numeric_cols))
AssertionError: 21 != 24
======================================================================
FAIL: test_boxplot_vertical (pandas.tests.test_graphics.TestDataFramePlots)
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\Users\Jeff Reback\Documents\GitHub\pandas\build\lib.win-amd64-3.4\pandas\tests\test_graphics.py", line 1828, in test_boxplot_vertical
self.assertEqual(len(ax.lines), 8 * len(numeric_cols))
AssertionError: 21 != 24
----------------------------------------------------------------------
Ran 7882 tests in 724.270s
FAILED (SKIP=267, errors=1, failures=2)