issue_comments
1 row where issue = 307903558 and user = 6334793 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
issue 1
- Removing inter-subplot spaces when using cartopy projections · 1 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
375726695 | https://github.com/pydata/xarray/issues/2009#issuecomment-375726695 | https://api.github.com/repos/pydata/xarray/issues/2009 | MDEyOklzc3VlQ29tbWVudDM3NTcyNjY5NQ== | hrishikeshac 6334793 | 2018-03-23T16:40:06Z | 2018-03-23T16:43:45Z | NONE | @mathause Thanks! Your solution worked brilliantly when used with contourf(). Here's how the code looks after implementing it. ```python import cartopy.crs as ccrs import xarray as xr import matplotlib.pyplot as plt import matplotlib.gridspec as gridspec projection = False ts = xr.tutorial.load_dataset('air_temperature').air[0, ...] ncols, nrows = 2, 2 fig = plt.figure() ny,nx = ts.shapedx, dy = nx/ny, 1figsize = plt.figaspect(float(dy * ncols) / float(dx * nrows))fig = plt.figure(figsize=figsize)gs = gridspec.GridSpec(ncols, nrows,wspace=0, hspace=0) def set_map_layout(axes, width=17.0): """ set figure height, given width
for i in range(4): if projection: ax = plt.subplot(gs[i], projection=ccrs.PlateCarree()) ax.coastlines() ts.plot.contourf(ax=ax, add_colorbar=False, add_labels=False, levels=11, transform=ccrs.PlateCarree()) else: ax = plt.subplot(gs[i]) ts.plot.contourf(ax=ax, add_colorbar=False, levels=11, add_labels=False)
fig.subplots_adjust()```
without projection:
With projection:
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Removing inter-subplot spaces when using cartopy projections 307903558 |
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 1