home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 170458908

This data as json

id node_id number title user state locked assignee milestone comments created_at updated_at closed_at author_association active_lock_reason draft pull_request body reactions performed_via_github_app state_reason repo type
170458908 MDU6SXNzdWUxNzA0NTg5MDg= 958 Test failure with matplotlib 2.0b3 1322974 closed 0     1 2016-08-10T16:21:16Z 2018-10-26T23:12:28Z 2018-10-26T23:12:28Z CONTRIBUTOR      

mpl 2.0b3 / xarray HEAD Arch Linux, Python 3.5.2

``` ============================================================================================= FAILURES ============================================================================================= ____________ TestPlot.test_subplot_kws _____________

self = <xarray.test.test_plot.TestPlot testMethod=test_subplot_kws>

def test_subplot_kws(self):
    a = easy_array((10, 15, 4))
    d = DataArray(a, dims=['y', 'x', 'z'])
    d.coords['z'] = list('abcd')
    g = d.plot(x='x', y='y', col='z', col_wrap=2, cmap='cool',
               subplot_kws=dict(axisbg='r'))
    for ax in g.axes.flat:
      self.assertEqual(ax.get_axis_bgcolor(), 'r')

xarray/test/test_plot.py:148:


self = <xarray.test.test_plot.TestPlot testMethod=test_subplot_kws>, a1 = (1.0, 0.0, 0.0, 1), a2 = 'r'

def assertEqual(self, a1, a2):
  assert a1 == a2 or (a1 != a1 and a2 != a2)

E AssertionError: assert ((1.0, 0.0, 0.0, 1) == 'r' or ((1.0, 0.0, 0.0, 1) != (1.0, 0.0, 0.0, 1)))

xarray/test/init.py:164: AssertionError --------------------------------------------------------------------------------------- Captured stderr call --------------------------------------------------------------------------------------- /usr/lib/python3.5/site-packages/matplotlib/cbook.py:137: MatplotlibDeprecationWarning: The axisbg attribute was deprecated in version 2.0. Use facecolor instead. warnings.warn(message, mplDeprecation, stacklevel=1) /home/antony/src/extern/xarray/xarray/test/test_plot.py:148: MatplotlibDeprecationWarning: The get_axis_bgcolor function was deprecated in version 2.0. Use get_facecolor instead. self.assertEqual(ax.get_axis_bgcolor(), 'r') ```

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/958/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed 13221727 issue

Links from other tables

  • 0 rows from issues_id in issues_labels
  • 1 row from issue in issue_comments
Powered by Datasette · Queries took 0.957ms · About: xarray-datasette