home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

11 rows where issue = 178501065 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 4

  • shoyer 4
  • paulvija 4
  • fmaussion 2
  • dcherian 1

author_association 2

  • MEMBER 7
  • CONTRIBUTOR 4

issue 1

  • 'levels' tick labels for discrete colormaps · 11 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
367135820 https://github.com/pydata/xarray/issues/1015#issuecomment-367135820 https://api.github.com/repos/pydata/xarray/issues/1015 MDEyOklzc3VlQ29tbWVudDM2NzEzNTgyMA== shoyer 1217238 2018-02-20T22:02:28Z 2018-02-20T22:02:28Z MEMBER

Yes, documentation would be welcome here.

On Tue, Feb 20, 2018 at 1:49 PM Vijay Paul notifications@github.com wrote:

Sorry this documentation job slipped out of my radar, @shoyer https://github.com/shoyer - if still keen I can contribute to the documentation?

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/pydata/xarray/issues/1015#issuecomment-367131876, or mute the thread https://github.com/notifications/unsubscribe-auth/ABKS1sXklF3U8zdPMz42P_lp0wj7eeq7ks5tWz3SgaJpZM4KDcau .

{
    "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
367131876 https://github.com/pydata/xarray/issues/1015#issuecomment-367131876 https://api.github.com/repos/pydata/xarray/issues/1015 MDEyOklzc3VlQ29tbWVudDM2NzEzMTg3Ng== paulvija 12703555 2018-02-20T21:49:06Z 2018-02-20T21:49:06Z CONTRIBUTOR

Sorry this documentation job slipped out of my radar, @shoyer - if still keen I can contribute to the documentation?

{
    "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
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
367048063 https://github.com/pydata/xarray/issues/1015#issuecomment-367048063 https://api.github.com/repos/pydata/xarray/issues/1015 MDEyOklzc3VlQ29tbWVudDM2NzA0ODA2Mw== dcherian 2448579 2018-02-20T17:10:37Z 2018-02-20T17:10:37Z MEMBER

Should we set cbar_kwargs to contain {'ticks':levels, 'spacing':'proportional'} when levels is specified or only have this as a documentation fix?

{
    "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
249084940 https://github.com/pydata/xarray/issues/1015#issuecomment-249084940 https://api.github.com/repos/pydata/xarray/issues/1015 MDEyOklzc3VlQ29tbWVudDI0OTA4NDk0MA== paulvija 12703555 2016-09-23T02:17:42Z 2016-09-23T02:17:42Z CONTRIBUTOR

Got it! Thanks, I am keen to contribute with a short example.

{
    "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
249082110 https://github.com/pydata/xarray/issues/1015#issuecomment-249082110 https://api.github.com/repos/pydata/xarray/issues/1015 MDEyOklzc3VlQ29tbWVudDI0OTA4MjExMA== shoyer 1217238 2016-09-23T02:00:03Z 2016-09-23T02:00:03Z MEMBER

Sorry, PR is github short hand for "pull request". See http://pandas.pydata.org/pandas-docs/stable/contributing.html for guidance.

On Thu, Sep 22, 2016 at 6:54 PM, Vijay Paul notifications@github.com wrote:

PR?

Date: Thu, 22 Sep 2016 18:50:52 -0700 From: notifications@github.com To: xarray@noreply.github.com CC: vijay.paul@outlook.co.nz; mention@noreply.github.com Subject: Re: [pydata/xarray] 'levels' tick labels for discrete colormaps (#1015)

@paulvija @fmaussion either of you interested in putting together a PR? :)

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/pydata/xarray/issues/1015#issuecomment-249081072, or mute the thread https://github.com/notifications/unsubscribe-auth/ABKS1sMT8QR3_32D3wLkXct1UAuGX9kSks5qszFUgaJpZM4KDcau .

{
    "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
249081072 https://github.com/pydata/xarray/issues/1015#issuecomment-249081072 https://api.github.com/repos/pydata/xarray/issues/1015 MDEyOklzc3VlQ29tbWVudDI0OTA4MTA3Mg== paulvija 12703555 2016-09-23T01:54:28Z 2016-09-23T01:54:28Z CONTRIBUTOR

PR?

Date: Thu, 22 Sep 2016 18:50:52 -0700 From: notifications@github.com To: xarray@noreply.github.com CC: vijay.paul@outlook.co.nz; mention@noreply.github.com Subject: Re: [pydata/xarray] 'levels' tick labels for discrete colormaps (#1015)

@paulvija @fmaussion either of you interested in putting together a PR? :)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

{
    "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
249080340 https://github.com/pydata/xarray/issues/1015#issuecomment-249080340 https://api.github.com/repos/pydata/xarray/issues/1015 MDEyOklzc3VlQ29tbWVudDI0OTA4MDM0MA== shoyer 1217238 2016-09-23T01:50:50Z 2016-09-23T01:50:50Z MEMBER

@paulvija @fmaussion either of you interested in putting together a PR? :)

{
    "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
249062328 https://github.com/pydata/xarray/issues/1015#issuecomment-249062328 https://api.github.com/repos/pydata/xarray/issues/1015 MDEyOklzc3VlQ29tbWVudDI0OTA2MjMyOA== paulvija 12703555 2016-09-23T00:00:26Z 2016-09-23T00:01:32Z CONTRIBUTOR

cbar_kwargs works well for my purpose (plot.pcolormesh). Thanks for the help. Can this usage be shown in the documentation, at least mentioning that colorbar intervals can be placed at our wish or this comes under matplotlib?

{
    "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
248796263 https://github.com/pydata/xarray/issues/1015#issuecomment-248796263 https://api.github.com/repos/pydata/xarray/issues/1015 MDEyOklzc3VlQ29tbWVudDI0ODc5NjI2Mw== shoyer 1217238 2016-09-22T02:40:44Z 2016-09-22T02:40:44Z MEMBER

Agreed, this would be nice. See also #920.

{
    "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 17.304ms · About: xarray-datasette