holoviz / holoviz/hvplot

Support automatic control of labels density to avoid overlap

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

Description

In geographical plots (but I think this would also benefit other types of plot types) it is useful to automatically reduce the density of labels so that the plot become more readable. The density should be then automatically adjusted depending on the zoom level. This is something already implemented in libraries like plotly or leaflet: here is a demonstration.

https://github.com/user-attachments/assets/4c3fb178-3803-44a6-bc71-1e16079d49de

Just for reference this is the current behaviour in hvplot (I don't know if the density reduction while zooming is expected or just a bug in my renderer).

https://github.com/user-attachments/assets/147f5e61-f913-4295-ad3b-36f76074ccc2

This could be activated with a boolean.

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.