pyobsplot icon indicating copy to clipboard operation
pyobsplot copied to clipboard

Interactions and static tips not possible with `jsdom` renderer

Open juba opened this issue 2 years ago • 2 comments

For the moment "static" plots generated as HTML or SVG by the jsdom renderer cannot have pointer interactions.

juba avatar May 26 '23 13:05 juba

Hi @juba,

Thank you for adding this issue.

If the typst renderer is added this issue will mean that plots such as this can't be exported to png etc.. I encountered this today whilst testing the pull request and can see others encountering this more frequently once exporting to png requires using the jsdom/typst renderer. Not sure what this would involve to fix but would getting static annotations with the tip mark to work require the same changes?

FYI @wirhabenzeit in reply to your comment on the PNG issue about what features are supported

harrylojames avatar May 10 '24 14:05 harrylojames

Indeed, you're right, as static annotations use the same mark as dynamic tips, they are not supported by the jsdom renderer. This may be because jsdom doesn't support pointer interactions,

Unfortunately I'm not sure what I may do about it.

juba avatar May 19 '24 14:05 juba