home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 803281142

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/issues/4913#issuecomment-803281142 https://api.github.com/repos/pydata/xarray/issues/4913 803281142 MDEyOklzc3VlQ29tbWVudDgwMzI4MTE0Mg== 14808389 2021-03-20T09:48:59Z 2021-03-20T09:52:13Z MEMBER

the issue here is that if y is None we pretend y=hue: https://github.com/pydata/xarray/blob/fbd48d4307502f7dbe8afa37b84df59e74407820/xarray/plot/plot.py#L68 So we either need to refactor _infer_xy_labels or call _assert_valid_xy(darray, hue, "hue") before the call to _infer_xy_labels.

Edit: I think I would prefer the refactor, but the _assert_valid_xy fix is a single line...

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