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-299194997,https://api.github.com/repos/pydata/xarray/issues/1397,299194997,MDEyOklzc3VlQ29tbWVudDI5OTE5NDk5Nw==,4992424,2017-05-04T14:05:48Z,2017-05-04T14:05:48Z,NONE,"Cool; please keep me in the loop if you don't mind, because I also have an application which I'd really like to just be able use the built-in faceting for rather than building my plot grids manually. 

A good comparison case is to perform the same plots (with the same set aspect/size/ratio at both the figure and subplot level) but just don't use the Cartopy transformations. In these cases, I have all the control that I would expect. There are also important differences between `pcolor`ing and `imshow`ing which would be useful to understand. At a minimum, we should deliver back to **xarray** some improved documentation discussing handling subplot geometry during faceting.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,225846258
https://github.com/pydata/xarray/issues/1397#issuecomment-299191499,https://api.github.com/repos/pydata/xarray/issues/1397,299191499,MDEyOklzc3VlQ29tbWVudDI5OTE5MTQ5OQ==,4992424,2017-05-04T13:53:09Z,2017-05-04T13:53:09Z,NONE,"@fmaussion What happens if you add `aspect=""auto""` to **subplot_kws**? 

I'm tempted to have us move this discussion to StackOverflow (for heightened visibility), but I suspect there might actually be a bug somewhere in the finalization of the faceting that undoes the specifications you pass to the initial subplot constructor.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,225846258
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
https://github.com/pydata/xarray/issues/1397#issuecomment-299053751,https://api.github.com/repos/pydata/xarray/issues/1397,299053751,MDEyOklzc3VlQ29tbWVudDI5OTA1Mzc1MQ==,13760223,2017-05-03T22:30:01Z,2017-05-03T22:30:01Z,NONE,"Customizing legend, fonts, title, things like that. I'm slowly getting through it - mostly because I am new to cartopy and not that experienced with matplotlib overall. 

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.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,225846258
https://github.com/pydata/xarray/issues/1397#issuecomment-299040588,https://api.github.com/repos/pydata/xarray/issues/1397,299040588,MDEyOklzc3VlQ29tbWVudDI5OTA0MDU4OA==,13760223,2017-05-03T21:26:49Z,2017-05-03T21:26:49Z,NONE,Without a doubt - once I figure out how to do it!,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,225846258
https://github.com/pydata/xarray/issues/1397#issuecomment-299021450,https://api.github.com/repos/pydata/xarray/issues/1397,299021450,MDEyOklzc3VlQ29tbWVudDI5OTAyMTQ1MA==,13760223,2017-05-03T20:11:27Z,2017-05-03T20:11:27Z,NONE,"Thanks Fabien, this is helpful. It would be great to see how the output of the `plot()` function can be broadcast to axes or handles, so that they can be manipulated at will. Right now, typing  
`a = s.Tair[0].plot.pcolormesh(ax=ax, transform=ccrs.PlateCarree(), x='xc', y='yc', 
                           cbar_kwargs={'orientation':'horizontal'});`
returns a complex object that is a bit forbidding for a first-time user without any example in the doc. A simple example would go a long way, but I understand that everything takes time and no-one is getting paid for this!
cheers
Julien","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,225846258
https://github.com/pydata/xarray/issues/1397#issuecomment-299001180,https://api.github.com/repos/pydata/xarray/issues/1397,299001180,MDEyOklzc3VlQ29tbWVudDI5OTAwMTE4MA==,13760223,2017-05-03T18:48:06Z,2017-05-03T18:48:06Z,NONE,"@fmaussion thanks, I think I know what the problem is: the last command I was using was `ax.set_ylim([0,90])`, not `plt.tight_layout()`. With the latter, everything shows up properly with the correct projection. I guess I was working with an older version of the notebook, which had the former command, not the latter. 

Bonus question for @shoyer : it's simple to add the colorbar, but not easy to make it horizontal, for instance. Is the idea is that if a lot of customization is desired, users should go with more direct cartopy commands, rather than xarray plotting tools, which are useful for quick checks, but not publication-quality figures?

thanks","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,225846258
https://github.com/pydata/xarray/issues/1397#issuecomment-298843881,https://api.github.com/repos/pydata/xarray/issues/1397,298843881,MDEyOklzc3VlQ29tbWVudDI5ODg0Mzg4MQ==,13760223,2017-05-03T07:48:21Z,2017-05-03T07:48:21Z,NONE,"@shoyer thanks for this tip. As you say, having to specify the transform is prodigiously unintuitive for a first-time cartopy user (my case). Unfortunately, I get the problem with or without applying transform=ccrs.PlateCarree(). 

@fmaussion yes, that is precisely the code I used, switching PlateCarree() for Robinson() in cell 16. 

The only output I get when I do this is the bottom legend; the rest of the plot vanishes. ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,225846258