id,node_id,number,title,user,state,locked,assignee,milestone,comments,created_at,updated_at,closed_at,author_association,active_lock_reason,draft,pull_request,body,reactions,performed_via_github_app,state_reason,repo,type 258735262,MDU6SXNzdWUyNTg3MzUyNjI=,1578,Contourplot not producing plot when data below colorbar level and extend='neither',761677,open,0,,,7,2017-09-19T08:23:14Z,2019-03-29T22:44:15Z,,NONE,,,,"I'm plotting several datasets on a map with contourf with the same colorbar levels where some datasets have no data above the lowest level. I expect these plots to simply be blank. The default behavior is instead that 'extend' becomes set to 'min' behind the scenes, changing the colorabar relative to the other plots. When I set extend to 'neither' explicitly, I get an error from matplotlib: ""ValueError: 'bboxes' cannot be empty"". The plot call looks like this: `data.plot.contourf(ax=ax, transform=ccrs.PlateCarree(), vmin=levels[0], vmax=levels[-1], levels=levels, cmap=plt.get_cmap('viridis_r'), extend='neither', extent=(-17, 25, 52, 73)` I found that if I revert this bug-fixe from Cartopy: https://github.com/SciTools/cartopy/issues/811 I get the expected behavior. Not sure if this issue should go to Cartopy but I'm starting here. Matplotlib version 2.0.0 Xarray version 0.9.6 Cartopy version 0.15.1 ","{""url"": ""https://api.github.com/repos/pydata/xarray/issues/1578/reactions"", ""total_count"": 1, ""+1"": 1, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,,13221727,issue