home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where author_association = "MEMBER" and issue = 755105132 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: reactions, created_at (date), updated_at (date)

user 2

  • shoyer 2
  • keewis 1

issue 1

  • Wrong hue assignment in scatter plot · 3 ✖

author_association 1

  • MEMBER · 3 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
749250751 https://github.com/pydata/xarray/issues/4641#issuecomment-749250751 https://api.github.com/repos/pydata/xarray/issues/4641 MDEyOklzc3VlQ29tbWVudDc0OTI1MDc1MQ== keewis 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
}
  Wrong hue assignment in scatter plot 755105132
746969091 https://github.com/pydata/xarray/issues/4641#issuecomment-746969091 https://api.github.com/repos/pydata/xarray/issues/4641 MDEyOklzc3VlQ29tbWVudDc0Njk2OTA5MQ== shoyer 1217238 2020-12-16T20:33:08Z 2020-12-16T20:33:08Z MEMBER

Ugh, this is unfortunate! Thanks for the clear example code. Coincidentally, one of collaborators ran into this same bug this morning. This sort of "corrupted data" bug is one of the nastiest types, so we should definitely try to prioritize a fix.

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Wrong hue assignment in scatter plot 755105132
737617144 https://github.com/pydata/xarray/issues/4641#issuecomment-737617144 https://api.github.com/repos/pydata/xarray/issues/4641 MDEyOklzc3VlQ29tbWVudDczNzYxNzE0NA== shoyer 1217238 2020-12-03T02:18:20Z 2020-12-03T02:18:20Z MEMBER

could you share an image showing what the incorrect plot(s) looks like? you should be able to "paste" into the comment field in GitHub

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Wrong hue assignment in scatter plot 755105132

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE [issue_comments] (
   [html_url] TEXT,
   [issue_url] TEXT,
   [id] INTEGER PRIMARY KEY,
   [node_id] TEXT,
   [user] INTEGER REFERENCES [users]([id]),
   [created_at] TEXT,
   [updated_at] TEXT,
   [author_association] TEXT,
   [body] TEXT,
   [reactions] TEXT,
   [performed_via_github_app] TEXT,
   [issue] INTEGER REFERENCES [issues]([id])
);
CREATE INDEX [idx_issue_comments_issue]
    ON [issue_comments] ([issue]);
CREATE INDEX [idx_issue_comments_user]
    ON [issue_comments] ([user]);
Powered by Datasette · Queries took 12.446ms · About: xarray-datasette