home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where issue = 309481761 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

  • shoyer 1
  • dcherian 1

issue 1

  • multiple facetgrid.map calls screw up colorbar · 2 ✖

author_association 1

  • MEMBER 2
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
423919063 https://github.com/pydata/xarray/issues/2024#issuecomment-423919063 https://api.github.com/repos/pydata/xarray/issues/2024 MDEyOklzc3VlQ29tbWVudDQyMzkxOTA2Mw== dcherian 2448579 2018-09-24T09:27:18Z 2018-09-24T09:27:18Z MEMBER

There's a bigger issue:

shape = (3, 5, 2, 2) d = xr.DataArray(np.linspace(0, 1, num=np.prod(shape)).reshape(shape), dims=['y', 'x', 'columns', 'rows'], coords={'y': np.arange(shape[0]), 'x': np.arange(shape[1]), 'columns': np.arange(shape[2]), 'rows': np.arange(shape[3])}) d.y.attrs['units'] = 'yunits' d.x.attrs['units'] = 'xunits' d.columns.attrs['units'] = 'cunits' d.rows.attrs['units'] = 'runits'

g = d.plot(x='x', y='y', col='columns', row='rows')

g.map(lambda col, row: plt.plot(col, row, 'wo'), 'columns', 'rows') Note that the colorbar and axes-labels are now screwed up.

After #2435, the result is good.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  multiple facetgrid.map calls screw up colorbar 309481761
377064127 https://github.com/pydata/xarray/issues/2024#issuecomment-377064127 https://api.github.com/repos/pydata/xarray/issues/2024 MDEyOklzc3VlQ29tbWVudDM3NzA2NDEyNw== shoyer 1217238 2018-03-28T22:52:35Z 2018-03-28T22:52:35Z MEMBER

Hmm. I wonder if it helps to use add_colorbar=False and then manually add the colorbar afterwards with the add_colorbar() method on the facetgrid object?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  multiple facetgrid.map calls screw up colorbar 309481761

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