home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 367414417

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions performed_via_github_app issue
https://github.com/pydata/xarray/pull/1926#issuecomment-367414417 https://api.github.com/repos/pydata/xarray/issues/1926 367414417 MDEyOklzc3VlQ29tbWVudDM2NzQxNDQxNw== 1217238 2018-02-21T17:59:17Z 2018-02-21T17:59:17Z MEMBER

Yes, this is not valid syntax on Python 2.

On Wed, Feb 21, 2018 at 9:53 AM Deepak Cherian notifications@github.com wrote:

@dcherian commented on this pull request.

In xarray/plot/plot.py https://github.com/pydata/xarray/pull/1926#discussion_r169723308:

 add_legend = kwargs.pop('add_legend', True)
 ax = get_axis(figsize, size, aspect, ax)
  • error_msg = 'must be either None or one of %r' % list(darray.dims) +
  • if x not in [None, *darray.dims]:

I don't know what's wrong here. It runs locally; the tests pass and flake8 goes through plot.py without errors. Is it a python2 vs python3 thing?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/pydata/xarray/pull/1926#discussion_r169723308, or mute the thread https://github.com/notifications/unsubscribe-auth/ABKS1pXVXGKhgmkR8yP3epLPvqZCXNipks5tXFgpgaJpZM4SLdeS .

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  298481284
Powered by Datasette · Queries took 0.928ms · About: xarray-datasette