-
Notifications
You must be signed in to change notification settings - Fork 300
Ability to save figures in the same way you can in rust in a notebook environment. #552
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
Comments
Is the following you want ? You can run them in jupyter notebook and the image will be saved.
or
|
Thanks but what I was wanting was to be able to generate a plot in the notebook to see visually but also simultaneously save it without duplicating code. I've added a function to handle this in the pull request #559. Thanks for your feedback though! |
Good job ! Looking forward to plotters new release so we can use it as soon as possible |
added saving of figures as a new function in evxcr.rs issue #552
What is the feature?
The ability to save a figure from a jupyter notebook instance.
It is not obvious to me that this can currently be done with how the evcxr_figure function is implemented.
(Optional) Why this feature is useful and how people would use the feature?
This would improve usability, especially for use in Data Science. A notebook is a great learning environment for Rust in this context and so it would be good to be able to save the outputs in the same way you would when using it in Rust.
(Optional) Additional Information
This is an attempt at making this change, or at least how I would interpret it to be done. I hope it is this simple!
However, I am not sure how the SVG wrapper itself works so I am not sure if this would actually work as an implementation, just here to aid in the explanation of the feature.
The text was updated successfully, but these errors were encountered: