holoviz / holoviz/hvplot

Retaining defaults from xarray

Open
#205 3 comments 1 reaction 0 assignees View on GitHub
interface: xarray
Dominant language
Python
Stars
1.4k
Forks
124
Avg merge
1d 18h
Merged PRs (30d)
1

Description

Hello, all, I'm beginning to use this package and I think it works extremely well. However, one small thing I miss but that makes a lot of difference is `xarray`'s default selection when plotting. Baically when `xarray` detects that a data set has both positive and negative values it chooses a divergent colormap and adjusts the limits of the plot so that the colormap is symmetric around zero. This sounds silly but it makes a huge difference in my day-to-day life.

Here's [an example of what I mean](https://pasteboard.co/IdxZwnE.png). The default setting of matplotlib are much nicer, and it saves me from "polluting" the command with lots of lengthy keyword arguments. Is there a way to plot with `hvplot` but keeping `xarray` defaults? If not, please consider this a feature request.

Thanks!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.