ENH: add escape parameter to to_html() by gdraps · Pull Request #2919 · pandas-dev/pandas (original) (raw)

FYI These are failing in 3.2

======================================================================
ERROR: test_rplot1 (pandas.tests.test_rplot.TestRPlot)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/virtualenv/python3.2_with_system_site_packages/lib/python3.2/site-packages/pandas-0.11.0.dev_fc8a679-py3.2-linux-x86_64.egg/pandas/tests/test_rplot.py", line 242, in test_rplot1
    self.plot.render(self.fig)
  File "/home/travis/virtualenv/python3.2_with_system_site_packages/lib/python3.2/site-packages/pandas-0.11.0.dev_fc8a679-py3.2-linux-x86_64.egg/pandas/tools/rplot.py", line 881, in render
    adjust_subplots(fig, axes_grid, last_trellis, new_layers[-1])
  File "/home/travis/virtualenv/python3.2_with_system_site_packages/lib/python3.2/site-packages/pandas-0.11.0.dev_fc8a679-py3.2-linux-x86_64.egg/pandas/tools/rplot.py", line 759, in adjust_subplots
    label1 = "%s = %s" % (trellis.by[0], trellis.group_grid[index / trellis.cols][index % trellis.cols][0])
TypeError: list indices must be integers, not float
======================================================================
ERROR: test_rplot2 (pandas.tests.test_rplot.TestRPlot)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/virtualenv/python3.2_with_system_site_packages/lib/python3.2/site-packages/pandas-0.11.0.dev_fc8a679-py3.2-linux-x86_64.egg/pandas/tests/test_rplot.py", line 252, in test_rplot2
    self.plot.render(self.fig)
  File "/home/travis/virtualenv/python3.2_with_system_site_packages/lib/python3.2/site-packages/pandas-0.11.0.dev_fc8a679-py3.2-linux-x86_64.egg/pandas/tools/rplot.py", line 881, in render
    adjust_subplots(fig, axes_grid, last_trellis, new_layers[-1])
  File "/home/travis/virtualenv/python3.2_with_system_site_packages/lib/python3.2/site-packages/pandas-0.11.0.dev_fc8a679-py3.2-linux-x86_64.egg/pandas/tools/rplot.py", line 753, in adjust_subplots
    label1 = "%s = %s" % (trellis.by[1], trellis.group_grid[index / trellis.cols][index % trellis.cols])
TypeError: list indices must be integers, not float
======================================================================
ERROR: test_rplot3 (pandas.tests.test_rplot.TestRPlot)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/virtualenv/python3.2_with_system_site_packages/lib/python3.2/site-packages/pandas-0.11.0.dev_fc8a679-py3.2-linux-x86_64.egg/pandas/tests/test_rplot.py", line 262, in test_rplot3
    self.plot.render(self.fig)
  File "/home/travis/virtualenv/python3.2_with_system_site_packages/lib/python3.2/site-packages/pandas-0.11.0.dev_fc8a679-py3.2-linux-x86_64.egg/pandas/tools/rplot.py", line 881, in render
    adjust_subplots(fig, axes_grid, last_trellis, new_layers[-1])
  File "/home/travis/virtualenv/python3.2_with_system_site_packages/lib/python3.2/site-packages/pandas-0.11.0.dev_fc8a679-py3.2-linux-x86_64.egg/pandas/tools/rplot.py", line 756, in adjust_subplots
    label1 = "%s = %s" % (trellis.by[0], trellis.group_grid[index / trellis.cols][index % trellis.cols])
TypeError: list indices must be integers, not float
----------------------------------------------------------------------
Ran 3093 tests in 300.638s