home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 580989966

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/3734#issuecomment-580989966 https://api.github.com/repos/pydata/xarray/issues/3734 580989966 MDEyOklzc3VlQ29tbWVudDU4MDk4OTk2Ng== 22245117 2020-02-01T04:20:27Z 2020-02-01T04:20:27Z CONTRIBUTOR

This fixes the problem: python plot_data = da.values kwargs = xr.plot.utils._determine_cmap_params(plot_data) if kwargs['vmin'] == kwargs['vmax']: kwargs['vmin'] -= .1 kwargs['vmax'] += .1 da.plot(col='dim_2', **kwargs)

Does it make sense to add the following somewhere in _determine_cmap_params? python if vmin == vmax: vmin -= .1 vmax += .1

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  557931967
Powered by Datasette · Queries took 0.537ms · About: xarray-datasette