Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

add marker styling for interactive plots #85

Open
sibeliu opened this issue Feb 11, 2025 · 1 comment
Open

add marker styling for interactive plots #85

sibeliu opened this issue Feb 11, 2025 · 1 comment

Comments

@sibeliu
Copy link

sibeliu commented Feb 11, 2025

Could marker styling be added to interactive plots, to permit functionality like what is available on the static plot?

datamapplot.create_plot(cord19_data_map, cord19_labels, point_size=1, marker_type="s", marker_size_array=np.sqrt(citation_counts), force_matplotlib=True)

@lmcinnes
Copy link
Contributor

The short answer is "no, not easily". To make the interactive plots I am leaning heavily on the power of deck.gl to do all the rendering of the scatterplot. This has many advantages, and makes things much easier for most tasks. However multiple marker types is not something that is supported in deck.gl's ScatterplotLayer, so it is not easy to add. It might be possible to do something with an IconLayer which supports more arbritrary markers, but the performance is significantly slower, and would eb an entirely different set of code for that case. I can't see supporting that at this time. Sorry.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants