issue_comments
9 rows where author_association = "MEMBER" and issue = 97861940 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
issue 1
- discrete colormap option for imshow and pcolormesh · 9 ✖
| id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 126532498 | https://github.com/pydata/xarray/issues/500#issuecomment-126532498 | https://api.github.com/repos/pydata/xarray/issues/500 | MDEyOklzc3VlQ29tbWVudDEyNjUzMjQ5OA== | shoyer 1217238 | 2015-07-31T00:52:38Z | 2015-07-31T00:52:38Z | MEMBER | Yeah, I guess we would only want a legend if we're truly plotting categorical values (e.g., from pandas.cut) On Thu, Jul 30, 2015 at 5:31 PM, Clark Fitzgerald notifications@github.com wrote:
|
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
discrete colormap option for imshow and pcolormesh 97861940 | |
| 126530340 | https://github.com/pydata/xarray/issues/500#issuecomment-126530340 | https://api.github.com/repos/pydata/xarray/issues/500 | MDEyOklzc3VlQ29tbWVudDEyNjUzMDM0MA== | clarkfitzg 5356122 | 2015-07-31T00:31:37Z | 2015-07-31T00:31:37Z | MEMBER | The legend definitely looks better than the color bar in the seaborn PR. |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
discrete colormap option for imshow and pcolormesh 97861940 | |
| 126527616 | https://github.com/pydata/xarray/issues/500#issuecomment-126527616 | https://api.github.com/repos/pydata/xarray/issues/500 | MDEyOklzc3VlQ29tbWVudDEyNjUyNzYxNg== | shoyer 1217238 | 2015-07-31T00:18:29Z | 2015-07-31T00:18:38Z | MEMBER | Also worth taking a look at for possible API and/or code inspiration: https://github.com/mwaskom/seaborn/pull/629 Do we want a color bar or a legend for discrete colormaps? |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
discrete colormap option for imshow and pcolormesh 97861940 | |
| 126470540 | https://github.com/pydata/xarray/issues/500#issuecomment-126470540 | https://api.github.com/repos/pydata/xarray/issues/500 | MDEyOklzc3VlQ29tbWVudDEyNjQ3MDU0MA== | shoyer 1217238 | 2015-07-30T20:22:00Z | 2015-07-30T20:22:00Z | MEMBER | Instead of adding a separate argument |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
discrete colormap option for imshow and pcolormesh 97861940 | |
| 126447673 | https://github.com/pydata/xarray/issues/500#issuecomment-126447673 | https://api.github.com/repos/pydata/xarray/issues/500 | MDEyOklzc3VlQ29tbWVudDEyNjQ0NzY3Mw== | shoyer 1217238 | 2015-07-30T19:29:27Z | 2015-07-30T19:29:27Z | MEMBER | @jhamman take a look at pandas.cut: http://pandas.pydata.org/pandas-docs/stable/generated/pandas.cut.html |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
discrete colormap option for imshow and pcolormesh 97861940 | |
| 126445362 | https://github.com/pydata/xarray/issues/500#issuecomment-126445362 | https://api.github.com/repos/pydata/xarray/issues/500 | MDEyOklzc3VlQ29tbWVudDEyNjQ0NTM2Mg== | jhamman 2443309 | 2015-07-30T19:24:33Z | 2015-07-30T19:24:33Z | MEMBER | I have this mostly working on my branch now. A few questions before I issue a PR. @clarkfitzg - do you happen to have any example code that creates intervals from a list? I also think it would be better to only use ticks defined by the user, so your case would need to be: |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
discrete colormap option for imshow and pcolormesh 97861940 | |
| 126012923 | https://github.com/pydata/xarray/issues/500#issuecomment-126012923 | https://api.github.com/repos/pydata/xarray/issues/500 | MDEyOklzc3VlQ29tbWVudDEyNjAxMjkyMw== | clarkfitzg 5356122 | 2015-07-29T16:41:40Z | 2015-07-29T16:41:40Z | MEMBER | So the user would write something like We could also allow a sequence for |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
discrete colormap option for imshow and pcolormesh 97861940 | |
| 125974756 | https://github.com/pydata/xarray/issues/500#issuecomment-125974756 | https://api.github.com/repos/pydata/xarray/issues/500 | MDEyOklzc3VlQ29tbWVudDEyNTk3NDc1Ng== | jhamman 2443309 | 2015-07-29T14:45:51Z | 2015-07-29T14:45:51Z | MEMBER | Exactly. I've used something like this to generate the discrete colormap: ``` python def cmap_discretize(cmap, n_colors): """Return a discrete colormap from the continuous colormap cmap.
``` Typically, I've manually constructed the colorbar by hand with the discrete colormap: ``` python cmap = cmap_discretize(cmap, n_colors=10) cnorm = mpl.colors.Normalize(vmin=vmin, vmax=vmax) cticks = np.linspace(vmin, vmax, num=cn + 1) cb = mpl.colorbar.ColorbarBase(cax, cmap=cmap, norm=cnorm, orientation='vertical', extend=cbar_extend, ticks=cticks) ``` I'm sure this later part can be improved. Possibly by using |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
discrete colormap option for imshow and pcolormesh 97861940 | |
| 125849396 | https://github.com/pydata/xarray/issues/500#issuecomment-125849396 | https://api.github.com/repos/pydata/xarray/issues/500 | MDEyOklzc3VlQ29tbWVudDEyNTg0OTM5Ng== | shoyer 1217238 | 2015-07-29T05:41:03Z | 2015-07-29T05:41:03Z | MEMBER | This is also something I often find useful, so +1 from me. |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
discrete colormap option for imshow and pcolormesh 97861940 |
Advanced export
JSON shape: default, array, newline-delimited, object
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]);
user 3