home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 297934889

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions performed_via_github_app issue
https://github.com/pydata/xarray/issues/1387#issuecomment-297934889 https://api.github.com/repos/pydata/xarray/issues/1387 297934889 MDEyOklzc3VlQ29tbWVudDI5NzkzNDg4OQ== 10050469 2017-04-28T08:03:06Z 2017-04-28T08:03:06Z MEMBER

Seems reasonable, although this would imply quite a lot of change in the current logic. For example, facetgrids share x and/or y axis:

If there is a colorbar in between, would you like to share axes?

The current way to do what you need is to do it manually:

ds = xr.tutorial.load_dataset('air_temperature') t = ds.air.groupby('time.season').mean(dim='time') f, (ax1, ax2) = plt.subplots(1, 2, figsize=(7, 3)) t.isel(season=0).plot(ax=ax1) t.isel(season=1).plot(ax=ax2)

As you see, this messes up with the layout so a call to tight_layout() is necessary.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  224846826
Powered by Datasette · Queries took 0.654ms · About: xarray-datasette