Image as marker in scatter plot

Can we use a local system image as a marker in a scatterplot? if yes, how can we do this?

image_rgba can render raw RGBA arrays, but you would have to repeat the entire image array for every scatter marker position (I just checked to be sure). Given the number of scatter marker positions you have above I expect this would make the document prohibitively large/slow for your specific use case.

It would make sense for image_rgba to be able to scatter a single array multiple places (most glyphs can mix vectorized and non-vectorized properties, but again images are different and more complicated). Certainly feel free to open a GitHub Issue for that as a feature request (but I can’t speculate at all when it might be picked up, so definitely not an immediate-term solution).

TLDR; not really.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.