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-367135820,https://api.github.com/repos/pydata/xarray/issues/1015,367135820,MDEyOklzc3VlQ29tbWVudDM2NzEzNTgyMA==,1217238,2018-02-20T22:02:28Z,2018-02-20T22:02:28Z,MEMBER,"Yes, documentation would be welcome here.
On Tue, Feb 20, 2018 at 1:49 PM Vijay Paul wrote:
> Sorry this documentation job slipped out of my radar, @shoyer
> - if still keen I can contribute to the
> documentation?
>
> —
> You are receiving this because you were mentioned.
>
>
> Reply to this email directly, view it on GitHub
> , or mute
> the thread
>
> .
>
","{""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-367131876,https://api.github.com/repos/pydata/xarray/issues/1015,367131876,MDEyOklzc3VlQ29tbWVudDM2NzEzMTg3Ng==,12703555,2018-02-20T21:49:06Z,2018-02-20T21:49:06Z,CONTRIBUTOR,"Sorry this documentation job slipped out of my radar, @shoyer - if still keen I can contribute to the documentation?","{""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-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-367048063,https://api.github.com/repos/pydata/xarray/issues/1015,367048063,MDEyOklzc3VlQ29tbWVudDM2NzA0ODA2Mw==,2448579,2018-02-20T17:10:37Z,2018-02-20T17:10:37Z,MEMBER,"Should we set `cbar_kwargs` to contain `{'ticks':levels, 'spacing':'proportional'}` when `levels` is specified or only have this as a documentation fix?","{""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-249084940,https://api.github.com/repos/pydata/xarray/issues/1015,249084940,MDEyOklzc3VlQ29tbWVudDI0OTA4NDk0MA==,12703555,2016-09-23T02:17:42Z,2016-09-23T02:17:42Z,CONTRIBUTOR,"Got it! Thanks, I am keen to contribute with a short example.
","{""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-249082110,https://api.github.com/repos/pydata/xarray/issues/1015,249082110,MDEyOklzc3VlQ29tbWVudDI0OTA4MjExMA==,1217238,2016-09-23T02:00:03Z,2016-09-23T02:00:03Z,MEMBER,"Sorry, PR is github short hand for ""pull request"". See
http://pandas.pydata.org/pandas-docs/stable/contributing.html for guidance.
On Thu, Sep 22, 2016 at 6:54 PM, Vijay Paul notifications@github.com
wrote:
> PR?
>
> Date: Thu, 22 Sep 2016 18:50:52 -0700
> From: notifications@github.com
> To: xarray@noreply.github.com
> CC: vijay.paul@outlook.co.nz; mention@noreply.github.com
> Subject: Re: [pydata/xarray] 'levels' tick labels for discrete colormaps
> (#1015)
>
> @paulvija @fmaussion either of you interested in putting together a PR? :)
>
> —
> You are receiving this because you were mentioned.
>
> Reply to this email directly, view it on GitHub, or mute the thread.
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> https://github.com/pydata/xarray/issues/1015#issuecomment-249081072, or mute
> the thread
> https://github.com/notifications/unsubscribe-auth/ABKS1sMT8QR3_32D3wLkXct1UAuGX9kSks5qszFUgaJpZM4KDcau
> .
","{""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-249081072,https://api.github.com/repos/pydata/xarray/issues/1015,249081072,MDEyOklzc3VlQ29tbWVudDI0OTA4MTA3Mg==,12703555,2016-09-23T01:54:28Z,2016-09-23T01:54:28Z,CONTRIBUTOR,"PR?
Date: Thu, 22 Sep 2016 18:50:52 -0700
From: notifications@github.com
To: xarray@noreply.github.com
CC: vijay.paul@outlook.co.nz; mention@noreply.github.com
Subject: Re: [pydata/xarray] 'levels' tick labels for discrete colormaps (#1015)
@paulvija @fmaussion either of you interested in putting together a PR? :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
","{""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-249080340,https://api.github.com/repos/pydata/xarray/issues/1015,249080340,MDEyOklzc3VlQ29tbWVudDI0OTA4MDM0MA==,1217238,2016-09-23T01:50:50Z,2016-09-23T01:50:50Z,MEMBER,"@paulvija @fmaussion either of you interested in putting together a PR? :)
","{""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-249062328,https://api.github.com/repos/pydata/xarray/issues/1015,249062328,MDEyOklzc3VlQ29tbWVudDI0OTA2MjMyOA==,12703555,2016-09-23T00:00:26Z,2016-09-23T00:01:32Z,CONTRIBUTOR,"**cbar_kwargs works well for my purpose (plot.pcolormesh).** Thanks for the help.
Can this usage be shown in the documentation, at least mentioning that colorbar intervals can be placed at our wish or this comes under matplotlib?
","{""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()
```

","{""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-248796263,https://api.github.com/repos/pydata/xarray/issues/1015,248796263,MDEyOklzc3VlQ29tbWVudDI0ODc5NjI2Mw==,1217238,2016-09-22T02:40:44Z,2016-09-22T02:40:44Z,MEMBER,"Agreed, this would be nice. See also #920.
","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,178501065