home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 299056235

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/1397#issuecomment-299056235 https://api.github.com/repos/pydata/xarray/issues/1397 299056235 MDEyOklzc3VlQ29tbWVudDI5OTA1NjIzNQ== 4992424 2017-05-03T22:43:55Z 2017-05-03T22:43:55Z NONE

The biggest trouble I have is with tightening the space between the map and the colorbar at the bottom, but this looks like a cartopy/mpl question, not an xarray question, so I should quit pestering you guys.

You just need to pass the "pad" argument to cbar_kwargs.

The trickier problem is that sometimes cartopy can be a bit unpredictable in controlling the size and aspect ratio of axes after you've plotted maps on them. You can force a plot to respect the aspect ratio you use when you construct an axis by using the keyword aspect="auto", but it can be a bit difficult to get this to work in xarray sometimes. But at the end of the day, it's not a big deal to hand-craft a publication-quality figure once you know the rough gist of what you want to go on it - and xarray's tools are already great for that.

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