GiovineItalia / Compose.jl

Declarative vector graphics
http://giovineitalia.github.io/Compose.jl/latest/
Other
248 stars 83 forks source link

Use the html tag for text/html #426

Closed diegozea closed 2 years ago

diegozea commented 2 years ago

Hi!

This fixes the interactivity of Gadfly plots on Pluto, solving the Gadfly example in https://github.com/fonsp/Pluto.jl/issues/546 and this stackoverflow question. The fix is similar to the one implemented in https://github.com/kimikage/ProfileSVG.jl/pull/50

Before (note that the plot don't react to the mouse)

pluto_no

After (grid highlighted because of the interaction, also the question mark appears)

pluto_si

This doesn't break IJulia

ijulia_gadfly

nor the example in http://gadflyjl.org/stable/man/backends/#Interactive-SVGs

doc_gadfly

I hope this helps

Best,

bjarthur commented 2 years ago

thanks!

diegozea commented 2 years ago

You're welcome 🙂

diegozea commented 2 years ago

Hi! Is it possible to tag a version including this change? Thanks