home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

4 rows where issue = 1338173609 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 2

  • headtr1ck 3
  • melioristic 1

author_association 2

  • COLLABORATOR 3
  • NONE 1

issue 1

  • plt.imshow() vs xarray_dataset.plot.imshow() not rendering correctly | Potential Bug · 4 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
1466890220 https://github.com/pydata/xarray/issues/6914#issuecomment-1466890220 https://api.github.com/repos/pydata/xarray/issues/6914 IC_kwDOAMm_X85Xbvfs headtr1ck 43316012 2023-03-13T20:11:15Z 2023-03-13T20:11:15Z COLLABORATOR

@melioristic could you reproduce the matplotlib results by setting interpolation?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  plt.imshow() vs xarray_dataset.plot.imshow() not rendering correctly | Potential Bug 1338173609
1292713770 https://github.com/pydata/xarray/issues/6914#issuecomment-1292713770 https://api.github.com/repos/pydata/xarray/issues/6914 IC_kwDOAMm_X85NDT8q headtr1ck 43316012 2022-10-26T22:10:41Z 2022-10-26T22:10:41Z COLLABORATOR

The two relevant kwargs to set to reproduce the matplotlib plotting are: yincrease=False and interpolation=None

I don't know why the default of xarray is interpolation="nearest"...

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  plt.imshow() vs xarray_dataset.plot.imshow() not rendering correctly | Potential Bug 1338173609
1288054827 https://github.com/pydata/xarray/issues/6914#issuecomment-1288054827 https://api.github.com/repos/pydata/xarray/issues/6914 IC_kwDOAMm_X85Mxigr melioristic 32569566 2022-10-23T08:49:23Z 2022-10-23T08:49:23Z NONE

Reverting the axis is understandable, but there is a lot of difference in the way the figures are rendered. The major issue is seeing the dots instead of the continuous lines.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  plt.imshow() vs xarray_dataset.plot.imshow() not rendering correctly | Potential Bug 1338173609
1277239557 https://github.com/pydata/xarray/issues/6914#issuecomment-1277239557 https://api.github.com/repos/pydata/xarray/issues/6914 IC_kwDOAMm_X85MISEF headtr1ck 43316012 2022-10-13T08:31:56Z 2022-10-13T08:32:56Z COLLABORATOR

I think that the reverted y-axis is intentional.

Imshow is intended to display images which have the origin at the top. xarray tries to keep the origin at the bottom for all plots, especially when attaching coordinates to the label it might be confusing that they are reverse.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  plt.imshow() vs xarray_dataset.plot.imshow() not rendering correctly | Potential Bug 1338173609

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 11.223ms · About: xarray-datasette