home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 417793264

This data as json

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-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
Powered by Datasette · Queries took 0.739ms · About: xarray-datasette