-
Notifications
You must be signed in to change notification settings - Fork 7
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
Is it currently possible to draw and updating plots from any backend? #19
Comments
What I ended up doing was to generate the plot normally, save it, and then reload and copy the image into the Canvas. I needed it saved anyway, but if you don't, maybe this isn't the right path. But I was also having trouble with the rendering.
From what I was looking at for more direct rendering, you might need to try GR directly instead of using Plots, and you'll need to set some environment variables for GR to render correctly. Though there also may be some cross-platform issues with that right now. |
Originally I was hesitant to do this based on speed requirements, but I bit the bulled and actually found that Plots.jl is surprisingly fast in creating saved images, but when your plots reach 10000+ data points (at least using scatter) things start to slow down a tad. I'm sure there's a workaround/set of trick to optimize for this, but for now this is a viable solution. Thanks! |
I'm trying to build a GTK application in glade, I know it's possible to
push!(widget, container)
and can access object made in Glade with dict-like accessors i.e.,But once I'm here, how can I use GtkObservables.jl to link a Plots.jl (or any other backend) plot to a GtkCanvas or similar widget, and insert it into my GUI? I'm starting with something simple here:
The text was updated successfully, but these errors were encountered: