home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where issue = 178501065 and user = 10050469 sorted by updated_at descending

✖
✖
✖

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 1

  • fmaussion · 2 ✖

issue 1

  • 'levels' tick labels for discrete colormaps · 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
367115118 https://github.com/pydata/xarray/issues/1015#issuecomment-367115118 https://api.github.com/repos/pydata/xarray/issues/1015 MDEyOklzc3VlQ29tbWVudDM2NzExNTExOA== fmaussion 10050469 2018-02-20T20:52:15Z 2018-02-20T20:52:15Z MEMBER

I think a doc example would be enough. For example in the gallery? http://xarray.pydata.org/en/latest/auto_gallery/index.html

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  'levels' tick labels for discrete colormaps 178501065
248847812 https://github.com/pydata/xarray/issues/1015#issuecomment-248847812 https://api.github.com/repos/pydata/xarray/issues/1015 MDEyOklzc3VlQ29tbWVudDI0ODg0NzgxMg== fmaussion 10050469 2016-09-22T09:00:56Z 2016-09-22T09:00:56Z MEMBER

Note that currently the colorbar labelling logic is handed over entirely to matplotlib, so its mpl which decides upon this. With the cbar_kwargs argument you can control this at your whish, so I'm not sure we have to change anything:

``` python from matplotlib import pyplot as plt import xarray as xr

data = xr.DataArray(np.arange(12).reshape((3, 4))10 + 10) levels = np.append(np.arange(10)10 + 10, 115)

f, (ax1, ax2, ax3) = plt.subplots(1, 3, figsize=(14, 4))

data.plot(ax=ax1, levels=levels) data.plot(ax=ax2, levels=levels, cbar_kwargs={'ticks':levels}) data.plot(ax=ax3, levels=levels, cbar_kwargs={'ticks':levels, 'spacing':'proportional'}) plt.tight_layout() ```

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  'levels' tick labels for discrete colormaps 178501065

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 81.319ms · About: xarray-datasette
  • Sort ascending
  • Sort descending
  • Facet by this
  • Hide this column
  • Show all columns
  • Show not-blank rows