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/1015#issuecomment-367115118,https://api.github.com/repos/pydata/xarray/issues/1015,367115118,MDEyOklzc3VlQ29tbWVudDM2NzExNTExOA==,10050469,2018-02-20T20:52:15Z,2018-02-20T20:52:15Z,MEMBER,I think a doc example would be enough. For example in the gallery? http://xarray.pydata.org/en/latest/auto_gallery/index.html,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,178501065 https://github.com/pydata/xarray/issues/1015#issuecomment-248847812,https://api.github.com/repos/pydata/xarray/issues/1015,248847812,MDEyOklzc3VlQ29tbWVudDI0ODg0NzgxMg==,10050469,2016-09-22T09:00:56Z,2016-09-22T09:00:56Z,MEMBER,"Note that currently the colorbar labelling logic is handed over entirely to matplotlib, so its mpl which decides upon this. With the `cbar_kwargs` argument you can control this at your whish, so I'm not sure we have to change anything: ``` python from matplotlib import pyplot as plt import xarray as xr data = xr.DataArray(np.arange(12).reshape((3, 4))*10 + 10) levels = np.append(np.arange(10)*10 + 10, 115) f, (ax1, ax2, ax3) = plt.subplots(1, 3, figsize=(14, 4)) data.plot(ax=ax1, levels=levels) data.plot(ax=ax2, levels=levels, cbar_kwargs={'ticks':levels}) data.plot(ax=ax3, levels=levels, cbar_kwargs={'ticks':levels, 'spacing':'proportional'}) plt.tight_layout() ``` ![cb](https://cloud.githubusercontent.com/assets/10050469/18742313/c72b2832-80b3-11e6-9ded-1c21875047c8.png) ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,178501065