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/2394#issuecomment-418151476,https://api.github.com/repos/pydata/xarray/issues/2394,418151476,MDEyOklzc3VlQ29tbWVudDQxODE1MTQ3Ng==,14314623,2018-09-03T15:57:33Z,2018-09-03T15:57:33Z,CONTRIBUTOR,"It seems like the problems I encountered during testing are caused by my local setup after all. The Travis CI passed.
Just added the test for the divergent colormap. ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,356067160
https://github.com/pydata/xarray/issues/2394#issuecomment-418148565,https://api.github.com/repos/pydata/xarray/issues/2394,418148565,MDEyOklzc3VlQ29tbWVudDQxODE0ODU2NQ==,14314623,2018-09-03T15:42:33Z,2018-09-03T15:42:33Z,CONTRIBUTOR,"I took a shot at it in #2397. Setting the options works locally on my laptop, but I am not clear how to properly test it.
","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,356067160
https://github.com/pydata/xarray/issues/2394#issuecomment-417793264,https://api.github.com/repos/pydata/xarray/issues/2394,417793264,MDEyOklzc3VlQ29tbWVudDQxNzc5MzI2NA==,1217238,2018-08-31T21:25:38Z,2018-08-31T21:25:38Z,MEMBER,"You can also set xarray options without using a context manager, e.g.,
```python
xr.set_options(diverging_cmap='RdYlBl', nondiverging_cmap='magma')
```
So I think this would work for your use case of updating defaults for all plots in a notebook.
Take a look at https://github.com/pydata/xarray/blob/master/xarray/core/options.py for where we implement options. You would need to then use them in xarray.plot.utils:
https://github.com/pydata/xarray/blob/e5ae4088f3512eb805b13ea138087350b8180d69/xarray/plot/utils.py#L206-L211","{""total_count"": 1, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 1, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,356067160