home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 360146186

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/1852#issuecomment-360146186 https://api.github.com/repos/pydata/xarray/issues/1852 360146186 MDEyOklzc3VlQ29tbWVudDM2MDE0NjE4Ng== 10050469 2018-01-24T14:07:16Z 2018-01-24T14:07:16Z MEMBER

It's not a trivial problem, because pcolormesh expects n+1 coordinates (the coordinates of the mesh corners), and to do what you want with matplotlib's pcolormesh alone (i.e. without xarray), you'll probably have to sort the values beforehand too (correct me if I'm wrong).

So the question is how much sanity check xarray should do before sending the data to matplotlib, and maybe a warning of some kind would be useful. Xarray's pcolormeh already implements some logic to make it easier to use than matplotlib's (see e.g. https://github.com/pydata/xarray/pull/1079).

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