home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 749250751

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/4641#issuecomment-749250751 https://api.github.com/repos/pydata/xarray/issues/4641 749250751 MDEyOklzc3VlQ29tbWVudDc0OTI1MDc1MQ== 14808389 2020-12-21T23:22:11Z 2020-12-21T23:22:11Z MEMBER

this is caused by the use of np.unique here: https://github.com/pydata/xarray/blob/de3f27553fd480e247a3f1f7d377fec0f5f2759c/xarray/plot/dataset_plot.py#L425 to fix that, I think we either need to find a way to preserve the order of data["hue"] (the output of np.unique is sorted), or we have to use sorted/np.unique here: https://github.com/pydata/xarray/blob/de3f27553fd480e247a3f1f7d377fec0f5f2759c/xarray/plot/facetgrid.py#L384

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