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](https://github.com/pydata/xarray/blob/4c96d53e6caa78d56b785f4edee49bbd4037a82f/xarray/plot/utils.py#L141)?
```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