holoviz / holoviz/hvplot

Document that hvPlot defaults to plotting 2D DataArrays with an Image and not a QuadMesh unlike xarray

Open
#958 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.4k
Forks
124
Avg merge
1d 18h
Merged PRs (30d)
1

Description

xarray defaults to plotting 2D DataArrays with `xarray.plot.pcolormesh` ([link](https://docs.xarray.dev/en/stable/user-guide/plotting.html#id2)):

> We use [xarray.plot.pcolormesh()](https://docs.xarray.dev/en/stable/generated/xarray.plot.pcolormesh.html#xarray.plot.pcolormesh) as the default two-dimensional plot method because it is more flexible than [xarray.plot.imshow()](https://docs.xarray.dev/en/stable/generated/xarray.plot.imshow.html#xarray.plot.imshow). However, for large arrays, imshow can be much faster than pcolormesh. If speed is important to you and you are plotting a regular mesh, consider using imshow.

hvPlot defaults to plotting in `Image` element, not a `QuadMesh`. This should be emphasized in the documentation.

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.