holoviz / holoviz/hvplot

Automatic datashading/rasterizing

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

Description

Right now, if someone attempts to plot something with a very large number of datapoints, the browser tab appears to lock up. It's not necessarily obvious to the user what the issue is, and they are likely to think that hvplot has crashed or has a bug.

We've previously discussed defining a size threshold above which plots get datashaded (or probably more appropriately, rasterized) automatically, but that was for HoloViews, where one would have to map the various HoloViews options (not easily accessible) into datashader function arguments. In hvPlot, such mapping is already being done from hvPlot arguments into both Datashader and HoloViews arguments, and so it seems like all we need to do is to change `datashade=True` into `datashade=1e7` and define some consistent measure of size (just length of dataframe, for Pandas?)?

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.