issue_comments
15 rows where issue = 98629509 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
issue 1
- Discrete colormap/colorbar option · 15 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
128417092 | https://github.com/pydata/xarray/pull/509#issuecomment-128417092 | https://api.github.com/repos/pydata/xarray/issues/509 | MDEyOklzc3VlQ29tbWVudDEyODQxNzA5Mg== | clarkfitzg 5356122 | 2015-08-06T15:53:54Z | 2015-08-06T15:53:54Z | MEMBER | Yes, looks good. Merge away! |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Discrete colormap/colorbar option 98629509 | |
128230468 | https://github.com/pydata/xarray/pull/509#issuecomment-128230468 | https://api.github.com/repos/pydata/xarray/issues/509 | MDEyOklzc3VlQ29tbWVudDEyODIzMDQ2OA== | jhamman 2443309 | 2015-08-06T04:11:22Z | 2015-08-06T04:11:22Z | MEMBER | @shoyer - have a good time. @clarkfitzg - I think I've addressed all your comments, including returning a |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Discrete colormap/colorbar option 98629509 | |
128193197 | https://github.com/pydata/xarray/pull/509#issuecomment-128193197 | https://api.github.com/repos/pydata/xarray/issues/509 | MDEyOklzc3VlQ29tbWVudDEyODE5MzE5Nw== | shoyer 1217238 | 2015-08-06T00:30:31Z | 2015-08-06T00:30:31Z | MEMBER | @jhamman you should merge this once you and @clarkfitzg are happy. I'm about go offline for 6 days (backpacking in the Olympics). |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Discrete colormap/colorbar option 98629509 | |
128188132 | https://github.com/pydata/xarray/pull/509#issuecomment-128188132 | https://api.github.com/repos/pydata/xarray/issues/509 | MDEyOklzc3VlQ29tbWVudDEyODE4ODEzMg== | clarkfitzg 5356122 | 2015-08-06T00:01:02Z | 2015-08-06T00:01:02Z | MEMBER | Nice work @jhamman @shoyer. Tests look pretty thorough and I like all the helper functions. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Discrete colormap/colorbar option 98629509 | |
128158707 | https://github.com/pydata/xarray/pull/509#issuecomment-128158707 | https://api.github.com/repos/pydata/xarray/issues/509 | MDEyOklzc3VlQ29tbWVudDEyODE1ODcwNw== | shoyer 1217238 | 2015-08-05T21:45:53Z | 2015-08-05T21:45:53Z | MEMBER | @clarkfitzg any thoughts here? |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Discrete colormap/colorbar option 98629509 | |
128158577 | https://github.com/pydata/xarray/pull/509#issuecomment-128158577 | https://api.github.com/repos/pydata/xarray/issues/509 | MDEyOklzc3VlQ29tbWVudDEyODE1ODU3Nw== | shoyer 1217238 | 2015-08-05T21:45:13Z | 2015-08-05T21:45:13Z | MEMBER | These tests look great -- thanks! |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Discrete colormap/colorbar option 98629509 | |
128091418 | https://github.com/pydata/xarray/pull/509#issuecomment-128091418 | https://api.github.com/repos/pydata/xarray/issues/509 | MDEyOklzc3VlQ29tbWVudDEyODA5MTQxOA== | jhamman 2443309 | 2015-08-05T17:56:46Z | 2015-08-05T17:56:46Z | MEMBER | @shoyer - I added a bunch of tests this morning and checked off the list of documentation and error handling items. Take another look and let me know if you think we need anymore tests or changes to the docs. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Discrete colormap/colorbar option 98629509 | |
127673118 | https://github.com/pydata/xarray/pull/509#issuecomment-127673118 | https://api.github.com/repos/pydata/xarray/issues/509 | MDEyOklzc3VlQ29tbWVudDEyNzY3MzExOA== | jhamman 2443309 | 2015-08-04T16:51:59Z | 2015-08-05T17:24:21Z | MEMBER | This looks good. Thanks for doing that.
Yes, but they are rare and you could pass in a custom
I'll think a bit more about how to test these aspects. There are three things left to do here (this has gotten a big bigger than I was expecting):
- [x] Decide what to do with seaborn's handling of |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Discrete colormap/colorbar option 98629509 | |
127507325 | https://github.com/pydata/xarray/pull/509#issuecomment-127507325 | https://api.github.com/repos/pydata/xarray/issues/509 | MDEyOklzc3VlQ29tbWVudDEyNzUwNzMyNQ== | shoyer 1217238 | 2015-08-04T07:30:37Z | 2015-08-04T07:30:37Z | MEMBER | Decided to try reorganizing things and got sucked in, so I ended up making a PR to your fork with some tweaks: https://github.com/jhamman/xray/pull/1 This assuredly still needs more tests -- mostly to verify that every plot types ends up with consistent levels. Here's my demo notebook: https://gist.github.com/shoyer/e6fafbc672021600d9f3 and a teaser:
The main difference in functionality is in my PR is that Also, I entirely replaced the levels calculation in contour/contourf with our calculated levels instead of merely trying to replicate it. That ensures things are guaranteed to be exactly identical across all plot types. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Discrete colormap/colorbar option 98629509 | |
127471969 | https://github.com/pydata/xarray/pull/509#issuecomment-127471969 | https://api.github.com/repos/pydata/xarray/issues/509 | MDEyOklzc3VlQ29tbWVudDEyNzQ3MTk2OQ== | jhamman 2443309 | 2015-08-04T04:10:44Z | 2015-08-04T04:10:44Z | MEMBER | @shoyer - This last commit (119c1c8) should have addressed the issues you brought up. I updated my examples a bit to show how things are working: ``` python %matplotlib inline import matplotlib.pyplot as plt import numpy as np import xray sample DataArrayx = np.arange(start=0, stop=10, step=2) y = np.arange(start=9, stop=-7, step=-3) xy = np.dstack(np.meshgrid(x, y)) distance = np.linalg.norm(xy, axis=2) distance = xray.DataArray(distance, list(zip(('y', 'x'), (y, x)))) Sample plotsfig, axes = plt.subplots(3, 2, figsize=(8, 8), sharex=True, sharey=True) distance.plot(ax=axes[0, 0]) axes[0, 0].set_title('Default') distance.plot(vmin=0, vmax=12, levels=6, ax=axes[1, 0]) axes[1, 0].set_title('Setting with integer levels') distance.plot(levels=[1, 2, 4, 5, 7, 9], extend='max', cmap='Spectral', ax=axes[0, 1]) axes[0, 1].set_title('Setting with list of levels') flatui = ["#9b59b6", "#3498db", "#95a5a6", "#e74c3c", "#34495e", "#2ecc71"] distance.plot(levels=[1, 2, 4, 5, 7], cmap=flatui, extend='both', ax=axes[1, 1]) axes[1, 1].set_title('Using custom list of colors') distance.plot.contourf(ax=axes[2, 0]) axes[2, 0].set_title('Default contourf') distance.plot.contourf(levels=4, ax=axes[2, 1]) axes[2, 1].set_title('contourf w/ int levels') plt.tight_layout() ``` If the user sets the |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Discrete colormap/colorbar option 98629509 | |
127364421 | https://github.com/pydata/xarray/pull/509#issuecomment-127364421 | https://api.github.com/repos/pydata/xarray/issues/509 | MDEyOklzc3VlQ29tbWVudDEyNzM2NDQyMQ== | shoyer 1217238 | 2015-08-03T18:35:04Z | 2015-08-03T18:35:04Z | MEMBER |
I would opt for your solution 2. I think this basically means using |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Discrete colormap/colorbar option 98629509 | |
127357707 | https://github.com/pydata/xarray/pull/509#issuecomment-127357707 | https://api.github.com/repos/pydata/xarray/issues/509 | MDEyOklzc3VlQ29tbWVudDEyNzM1NzcwNw== | jhamman 2443309 | 2015-08-03T18:14:10Z | 2015-08-03T18:14:10Z | MEMBER |
How do you want to handle this? Options for when I will add the I think this logic will also help address your 4th point:
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Discrete colormap/colorbar option 98629509 | |
127164584 | https://github.com/pydata/xarray/pull/509#issuecomment-127164584 | https://api.github.com/repos/pydata/xarray/issues/509 | MDEyOklzc3VlQ29tbWVudDEyNzE2NDU4NA== | shoyer 1217238 | 2015-08-03T08:39:18Z | 2015-08-03T08:39:18Z | MEMBER | Looking at the matplotlib source code, here's how they figure out levels in contour/contourf: https://github.com/matplotlib/matplotlib/blob/714d18788320325d0bff75184f62d472f67ceb91/lib/matplotlib/contour.py#L1143 It looks like they use It should be pretty straightforward to use that here. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Discrete colormap/colorbar option 98629509 | |
127163088 | https://github.com/pydata/xarray/pull/509#issuecomment-127163088 | https://api.github.com/repos/pydata/xarray/issues/509 | MDEyOklzc3VlQ29tbWVudDEyNzE2MzA4OA== | shoyer 1217238 | 2015-08-03T08:29:34Z | 2015-08-03T08:32:11Z | MEMBER | Some feedback:
1. matplotlib seems to have nice heuristics for picking level splits with contour plots. I wonder if it would be feasible to copy that logic here when setting our own discrete levels? Compare:
3. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Discrete colormap/colorbar option 98629509 | |
127076768 | https://github.com/pydata/xarray/pull/509#issuecomment-127076768 | https://api.github.com/repos/pydata/xarray/issues/509 | MDEyOklzc3VlQ29tbWVudDEyNzA3Njc2OA== | jhamman 2443309 | 2015-08-02T22:16:17Z | 2015-08-02T22:16:17Z | MEMBER | These last two commits have resolved the two issues I brought up above. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Discrete colormap/colorbar option 98629509 |
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