-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Added an example to save plot to image #2769
Conversation
This will be easier when #2676 is merged, with no need for unsafe code! |
Ok, I guess I'll update this example once 2676 is merged. |
adapted to #2676. no unsafe code is required now. Happy to get inputs about this. |
Thanks! Implemented your comments - I still have to do the transformation of the plot location with relative values, but it looks cleaner with |
Oops, ok I removed the unused import that made the CI workflow fail. |
I do not get how to mitigate the failed check concerning the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Just a few small nits
Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
Added an example to save a plot to an image, based on the screenshot example - uses unsafe code as well.
Closes #2470.