issue_comments
28 rows where issue = 109665577 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
issue 1
- allow passing coordinate names as x and y to plot methods · 28 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
146407349 | https://github.com/pydata/xarray/pull/608#issuecomment-146407349 | https://api.github.com/repos/pydata/xarray/issues/608 | MDEyOklzc3VlQ29tbWVudDE0NjQwNzM0OQ== | shoyer 1217238 | 2015-10-08T03:23:35Z | 2015-11-15T21:50:18Z | MEMBER | I think pcolormesh is slightly more likely to yield correct and consistent results for plotting different types of data than our current hybrid of imshow/contourf. In my experience, pcolormesh also works better with cartopy. For default behavior, I would lean towards being correct rather than fast. Of course, waiting ~0.5 seconds per plot does start to add up when you're faceting, but it's not much more trouble to type .imshow. On Wed, Oct 7, 2015 at 7:04 PM, Joe Hamman notifications@github.com wrote:
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
allow passing coordinate names as x and y to plot methods 109665577 | |
146892645 | https://github.com/pydata/xarray/pull/608#issuecomment-146892645 | https://api.github.com/repos/pydata/xarray/issues/608 | MDEyOklzc3VlQ29tbWVudDE0Njg5MjY0NQ== | clarkfitzg 5356122 | 2015-10-09T14:46:14Z | 2015-10-09T14:46:14Z | MEMBER | thanks @jhamman for making it work! |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
allow passing coordinate names as x and y to plot methods 109665577 | |
146885534 | https://github.com/pydata/xarray/pull/608#issuecomment-146885534 | https://api.github.com/repos/pydata/xarray/issues/608 | MDEyOklzc3VlQ29tbWVudDE0Njg4NTUzNA== | jhamman 2443309 | 2015-10-09T14:22:31Z | 2015-10-09T14:22:31Z | MEMBER | Thanks @shoyer and @clarkfitzg for the input on this. Funny how a small change can sometime unravel into a much larger issue. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
allow passing coordinate names as x and y to plot methods 109665577 | |
146761411 | https://github.com/pydata/xarray/pull/608#issuecomment-146761411 | https://api.github.com/repos/pydata/xarray/issues/608 | MDEyOklzc3VlQ29tbWVudDE0Njc2MTQxMQ== | shoyer 1217238 | 2015-10-09T05:57:22Z | 2015-10-09T05:57:22Z | MEMBER | LGTM |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
allow passing coordinate names as x and y to plot methods 109665577 | |
146758071 | https://github.com/pydata/xarray/pull/608#issuecomment-146758071 | https://api.github.com/repos/pydata/xarray/issues/608 | MDEyOklzc3VlQ29tbWVudDE0Njc1ODA3MQ== | jhamman 2443309 | 2015-10-09T05:26:46Z | 2015-10-09T05:26:46Z | MEMBER | I'm fine with adding a global option, but yes, we should wait until someone asks for that feature. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
allow passing coordinate names as x and y to plot methods 109665577 | |
146730555 | https://github.com/pydata/xarray/pull/608#issuecomment-146730555 | https://api.github.com/repos/pydata/xarray/issues/608 | MDEyOklzc3VlQ29tbWVudDE0NjczMDU1NQ== | shoyer 1217238 | 2015-10-09T01:19:05Z | 2015-10-09T01:19:05Z | MEMBER | I'm OK with changing the default to |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
allow passing coordinate names as x and y to plot methods 109665577 | |
146666438 | https://github.com/pydata/xarray/pull/608#issuecomment-146666438 | https://api.github.com/repos/pydata/xarray/issues/608 | MDEyOklzc3VlQ29tbWVudDE0NjY2NjQzOA== | clarkfitzg 5356122 | 2015-10-08T19:43:37Z | 2015-10-08T19:43:37Z | MEMBER | I think it's fine to have |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
allow passing coordinate names as x and y to plot methods 109665577 | |
146656714 | https://github.com/pydata/xarray/pull/608#issuecomment-146656714 | https://api.github.com/repos/pydata/xarray/issues/608 | MDEyOklzc3VlQ29tbWVudDE0NjY1NjcxNA== | jhamman 2443309 | 2015-10-08T19:06:36Z | 2015-10-08T19:06:36Z | MEMBER | Yes, that was my motivation. Basically, switching to pcolormesh requires us to do this - the alternative is to add I wouldn't say I have a comprehensive sense of how everyone orders their tick labels. In the earth sciences, which is my area of study, I'd say 95% of plots use the standard increasing y notation. The most common use cases for a decreasing y coordinate would probably be depth below the surface (where depth is increasingly positive). One nice thing about setting |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
allow passing coordinate names as x and y to plot methods 109665577 | |
146636071 | https://github.com/pydata/xarray/pull/608#issuecomment-146636071 | https://api.github.com/repos/pydata/xarray/issues/608 | MDEyOklzc3VlQ29tbWVudDE0NjYzNjA3MQ== | shoyer 1217238 | 2015-10-08T17:48:10Z | 2015-10-08T17:48:10Z | MEMBER | I'm conflicted about what the default @jhamman could you please explain your reasoning a little more for why we need this switch? Do you have a comprehensive sense of the ways that people organize their data cubes? With climate data, it does seem pretty common that datasets have decreasing latitude values (e.g., 90, 80, 70, ...). This works well with the default behavior of |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
allow passing coordinate names as x and y to plot methods 109665577 | |
146625084 | https://github.com/pydata/xarray/pull/608#issuecomment-146625084 | https://api.github.com/repos/pydata/xarray/issues/608 | MDEyOklzc3VlQ29tbWVudDE0NjYyNTA4NA== | jhamman 2443309 | 2015-10-08T17:04:06Z | 2015-10-08T17:04:06Z | MEMBER | I have updated the docs with a note about speed. I also updated the default behavior of |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
allow passing coordinate names as x and y to plot methods 109665577 | |
146582311 | https://github.com/pydata/xarray/pull/608#issuecomment-146582311 | https://api.github.com/repos/pydata/xarray/issues/608 | MDEyOklzc3VlQ29tbWVudDE0NjU4MjMxMQ== | jhamman 2443309 | 2015-10-08T15:39:28Z | 2015-10-08T15:39:28Z | MEMBER | I will add a bit to the docs. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
allow passing coordinate names as x and y to plot methods 109665577 | |
146554007 | https://github.com/pydata/xarray/pull/608#issuecomment-146554007 | https://api.github.com/repos/pydata/xarray/issues/608 | MDEyOklzc3VlQ29tbWVudDE0NjU1NDAwNw== | clarkfitzg 5356122 | 2015-10-08T13:59:07Z | 2015-10-08T13:59:07Z | MEMBER | Simplification of the logic is a good thing, so I'm fine with this. We should call out the performance difference in the docs, maybe both in the main 2d plot section and the faceting section. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
allow passing coordinate names as x and y to plot methods 109665577 | |
146393127 | https://github.com/pydata/xarray/pull/608#issuecomment-146393127 | https://api.github.com/repos/pydata/xarray/issues/608 | MDEyOklzc3VlQ29tbWVudDE0NjM5MzEyNw== | jhamman 2443309 | 2015-10-08T02:04:09Z | 2015-10-08T02:04:09Z | MEMBER | This is a good point. For me, its not a deal breaker though and the benefits of using pcolormesh all the time (simpler code, broad applicability) are worth the wait. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
allow passing coordinate names as x and y to plot methods 109665577 | |
146392455 | https://github.com/pydata/xarray/pull/608#issuecomment-146392455 | https://api.github.com/repos/pydata/xarray/issues/608 | MDEyOklzc3VlQ29tbWVudDE0NjM5MjQ1NQ== | clarkfitzg 5356122 | 2015-10-08T01:58:13Z | 2015-10-08T01:58:13Z | MEMBER | With a 1000 x 1000 grid I'm seeing 10 ms for |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
allow passing coordinate names as x and y to plot methods 109665577 | |
146392233 | https://github.com/pydata/xarray/pull/608#issuecomment-146392233 | https://api.github.com/repos/pydata/xarray/issues/608 | MDEyOklzc3VlQ29tbWVudDE0NjM5MjIzMw== | clarkfitzg 5356122 | 2015-10-08T01:56:35Z | 2015-10-08T01:56:35Z | MEMBER |
The problem, however, is time! How long does it take to plot and render with the two?
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
allow passing coordinate names as x and y to plot methods 109665577 | |
146369228 | https://github.com/pydata/xarray/pull/608#issuecomment-146369228 | https://api.github.com/repos/pydata/xarray/issues/608 | MDEyOklzc3VlQ29tbWVudDE0NjM2OTIyOA== | shoyer 1217238 | 2015-10-07T23:49:42Z | 2015-10-07T23:49:42Z | MEMBER | Originally, we only had imshow and contourf. We picked imshow as the default because it shows individual pixels. But pcolormesh also meets that criteria, and has the convenience of also working on non-evenly spaced grid. The only reason to possibly not pick pcolormesh is that it has a different convention from imshow in terms of the image orientation (top-left vs bottom-left origin). Given that xray is largely used for data with meaningful coordinate labels (rather than images), I think it's probably a better choice to use the bottom-left origin as a default. It composing better, for example, with 1D plots. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
allow passing coordinate names as x and y to plot methods 109665577 | |
146341795 | https://github.com/pydata/xarray/pull/608#issuecomment-146341795 | https://api.github.com/repos/pydata/xarray/issues/608 | MDEyOklzc3VlQ29tbWVudDE0NjM0MTc5NQ== | jhamman 2443309 | 2015-10-07T21:43:58Z | 2015-10-07T21:43:58Z | MEMBER | So, are we okay with the default 2D plot being I think @clarkfitzg may have an objection. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
allow passing coordinate names as x and y to plot methods 109665577 | |
146341309 | https://github.com/pydata/xarray/pull/608#issuecomment-146341309 | https://api.github.com/repos/pydata/xarray/issues/608 | MDEyOklzc3VlQ29tbWVudDE0NjM0MTMwOQ== | shoyer 1217238 | 2015-10-07T21:41:29Z | 2015-10-07T21:41:29Z | MEMBER | OK, works for me :) On Wed, Oct 7, 2015 at 2:40 PM, Joe Hamman notifications@github.com wrote:
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
allow passing coordinate names as x and y to plot methods 109665577 | |
146341080 | https://github.com/pydata/xarray/pull/608#issuecomment-146341080 | https://api.github.com/repos/pydata/xarray/issues/608 | MDEyOklzc3VlQ29tbWVudDE0NjM0MTA4MA== | jhamman 2443309 | 2015-10-07T21:40:14Z | 2015-10-07T21:40:14Z | MEMBER | I started to go down the road of removing the squeeze you were talking about but |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
allow passing coordinate names as x and y to plot methods 109665577 | |
146316910 | https://github.com/pydata/xarray/pull/608#issuecomment-146316910 | https://api.github.com/repos/pydata/xarray/issues/608 | MDEyOklzc3VlQ29tbWVudDE0NjMxNjkxMA== | shoyer 1217238 | 2015-10-07T20:21:48Z | 2015-10-07T20:21:48Z | MEMBER |
Either that, or we should extract the On the other hand, it's not so terrible to encourage people use to explicit plot method in applications instead of the generic |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
allow passing coordinate names as x and y to plot methods 109665577 | |
146316096 | https://github.com/pydata/xarray/pull/608#issuecomment-146316096 | https://api.github.com/repos/pydata/xarray/issues/608 | MDEyOklzc3VlQ29tbWVudDE0NjMxNjA5Ng== | jhamman 2443309 | 2015-10-07T20:18:15Z | 2015-10-07T20:18:15Z | MEMBER | so you would have a DataArray of shape (1, 5) be plotted via pcolormesh (by default)? |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
allow passing coordinate names as x and y to plot methods 109665577 | |
146313271 | https://github.com/pydata/xarray/pull/608#issuecomment-146313271 | https://api.github.com/repos/pydata/xarray/issues/608 | MDEyOklzc3VlQ29tbWVudDE0NjMxMzI3MQ== | shoyer 1217238 | 2015-10-07T20:06:05Z | 2015-10-07T20:06:05Z | MEMBER | While you're at it -- maybe the default |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
allow passing coordinate names as x and y to plot methods 109665577 | |
146312066 | https://github.com/pydata/xarray/pull/608#issuecomment-146312066 | https://api.github.com/repos/pydata/xarray/issues/608 | MDEyOklzc3VlQ29tbWVudDE0NjMxMjA2Ng== | shoyer 1217238 | 2015-10-07T20:02:01Z | 2015-10-07T20:02:01Z | MEMBER |
:+1: |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
allow passing coordinate names as x and y to plot methods 109665577 | |
146310923 | https://github.com/pydata/xarray/pull/608#issuecomment-146310923 | https://api.github.com/repos/pydata/xarray/issues/608 | MDEyOklzc3VlQ29tbWVudDE0NjMxMDkyMw== | jhamman 2443309 | 2015-10-07T19:58:10Z | 2015-10-07T19:58:10Z | MEMBER |
How about making the default |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
allow passing coordinate names as x and y to plot methods 109665577 | |
146310353 | https://github.com/pydata/xarray/pull/608#issuecomment-146310353 | https://api.github.com/repos/pydata/xarray/issues/608 | MDEyOklzc3VlQ29tbWVudDE0NjMxMDM1Mw== | shoyer 1217238 | 2015-10-07T19:55:41Z | 2015-10-07T19:56:30Z | MEMBER | Can we make it so the generic |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
allow passing coordinate names as x and y to plot methods 109665577 | |
146296448 | https://github.com/pydata/xarray/pull/608#issuecomment-146296448 | https://api.github.com/repos/pydata/xarray/issues/608 | MDEyOklzc3VlQ29tbWVudDE0NjI5NjQ0OA== | jhamman 2443309 | 2015-10-07T19:05:19Z | 2015-10-07T19:05:19Z | MEMBER | I think this is ready for a review. This fixes #611 and allows us to pass 2d coordinate names into plotting methods. ``` Python Fixed FacetGrid labelsfg = da.plot.pcolormesh(col='time', col_wrap=4) ``` ``` Python 2d coord namesax = plt.axes(projection=Rasm()) ds.frac.plot.pcolormesh(x='xc', y='yc', transform=cartopy.crs.PlateCarree()) ``` |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
allow passing coordinate names as x and y to plot methods 109665577 | |
146082365 | https://github.com/pydata/xarray/pull/608#issuecomment-146082365 | https://api.github.com/repos/pydata/xarray/issues/608 | MDEyOklzc3VlQ29tbWVudDE0NjA4MjM2NQ== | jhamman 2443309 | 2015-10-07T05:44:32Z | 2015-10-07T05:44:32Z | MEMBER |
This is exactly where I was headed. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
allow passing coordinate names as x and y to plot methods 109665577 | |
146082141 | https://github.com/pydata/xarray/pull/608#issuecomment-146082141 | https://api.github.com/repos/pydata/xarray/issues/608 | MDEyOklzc3VlQ29tbWVudDE0NjA4MjE0MQ== | shoyer 1217238 | 2015-10-07T05:42:07Z | 2015-10-07T05:42:07Z | MEMBER | Maybe instead of the complex fallback logic to handle specifying x and/or y, we should rewrite this to only handle two cases: 1. Both x and y are provided explicitly. They can be any coordinate variables. 2. Neither x nor y is provided, so use dims to provide default values. Something like this...
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
allow passing coordinate names as x and y to plot methods 109665577 |
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