home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where author_association = "NONE" and issue = 224846826 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

  • pollackscience 1
  • tom-andersson 1

issue 1

  • FacetGrid with independent colorbars · 2 ✖

author_association 1

  • NONE · 2 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
1097920752 https://github.com/pydata/xarray/issues/1387#issuecomment-1097920752 https://api.github.com/repos/pydata/xarray/issues/1387 IC_kwDOAMm_X85BcPDw tom-andersson 26459412 2022-04-13T11:07:49Z 2022-04-13T11:07:49Z NONE

Any updates on this? It would be great to have an option for multiple colorbars for each axis of the FacetGrid, rather than the default of one single colorbar for each axis. The main use case would be when different axes span different orders of magnitude. A global clim hides the variability of the smaller-scale axes.

@shoyer:

If your plots should have different colorbars, then arguably they should be different data variables in a Dataset.

I see the reasoning here. Could the solution be an xr.Dataset.plot.imshow method, which optionally takes a list of cmaps, that automatically produces a new colorbar for each data_var/axis?

In the meantime, manual subplot and colorbar construction with matplotlib works, but is annoying.

{
    "total_count": 2,
    "+1": 2,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  FacetGrid with independent colorbars 224846826
449431078 https://github.com/pydata/xarray/issues/1387#issuecomment-449431078 https://api.github.com/repos/pydata/xarray/issues/1387 MDEyOklzc3VlQ29tbWVudDQ0OTQzMTA3OA== pollackscience 5065341 2018-12-21T16:18:06Z 2018-12-21T16:18:06Z NONE

I like @shoyer 's suggestion as well. This would be very useful if the data being plotted are equal-sized images, in which case the colorbar could be dropped altogether as it no longer makes sense for them to share the same range.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  FacetGrid with independent colorbars 224846826

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