-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
trickle down to SVG plots #125
Comments
@MikeInnes can you perhaps give me a pointer to resolving this issue? would be great to have better Gadfly support in Atom. thanks. |
This is definitely possible, but our API for it isn't very nice. I'll try to come up with something nicer than we have right now. |
Changing Gadfly's
Two problems with that right now:
|
it's beautiful, thank you! do you want to make a PR to Gadfly with this as is? or would you prefer to wait for a better API, and a way to fix the next/prev plot buttons? this would've taken me months to figure out, so again, thanks! |
we're hoping to tag gadfly soon. i would love to include better support for Atom. is there by chance an easy fix for the next/prev buttons? |
Probably not, but I'll look into it again. I'm rather busy with 0.7 compatibility at the moment, so no promises :) |
Ok, this is trivial on Juno 0.7 with Julia 0.7 (just define a |
still can't get Gadfly interactivity to work in Juno. here is where maybe it has something to do with these lines? for the time being i have deleted them in my local installation as they were causing a warning:
|
I think you can remove all Juno specifc code from Gadfly and it should work. |
i did, and it doesn't. :( |
Ah I see, that's related to JunoLab/atom-julia-client#497. Should be fixed with JunoLab/Atom.jl@1247525. Regardless of that commit you could also define a |
still doesn't work. defining a MIME"application..." opens the plot in the default web browser, and the interactivity works there of course, but not ideal because it doesn't use the Atom plot panel. checking out master of Atom and changing the existing MIME"image/svg+xml" to embed javascript puts the plot in Atom. and while Atom's zoom/pan buttons are now not displayed, the plot's are not enabled. anything else i should try? thanks. |
That definitely shouldn't happen (and doesn't for me with e.g. the example in the Juno docs).
Not sure what's going on there then. I can't really figure out how to get Gadfly running on 0.7 though to help debugging this (on |
oh, wow, thanks for trying to get gadfly working. probably easiest for you to wait until that Compose PR is merged, as there's lot's of fixes that haven't been pushed to github yet. let me get back to you when we are more ready for you help. thanks! |
@pfitzseb Now that both |
Ok, this is weird. I'm getting
from the plot pane, apparently triggered by the first We could probably work around this by saving the svg to disk and loading that, much like what happens when the plot is opened in a browser, but I'd still like to find out what's going on here. |
Fixed now. |
Gadfly has zoom/pan functionality included in it's SVG plots (via javascript) which is much nicer than that provided by the Atom GUI. the problem is that events are not trickled down to the plot, but are captured by Atom. is there a way to change this? thanks.
The text was updated successfully, but these errors were encountered: