Skip to content
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

Saving plots #201

Open
kcpevey opened this issue Aug 23, 2018 · 3 comments
Open

Saving plots #201

kcpevey opened this issue Aug 23, 2018 · 3 comments
Milestone

Comments

@kcpevey
Copy link
Collaborator

kcpevey commented Aug 23, 2018

There is a save button in the drawing tools, but I can't find the image that it saves. What is the save location?

If I want to automatically generate png images (suppose I'm running a notebook via Lancet) - what is the best approach? I've come across something like this:

gv.renderer('bokeh')
save(file, 'output')

Would that be the best approach for auto-generated (without button clicking) save?

@kcpevey
Copy link
Collaborator Author

kcpevey commented Aug 23, 2018

There is a save button in the drawing tools, but I can't find the image that it saves. What is the save location?

loading a tile source breaks the save button in the drawing toolbar due to an unsolvable security issue

@kcpevey
Copy link
Collaborator Author

kcpevey commented Aug 27, 2018

#163

@philippjfr
Copy link
Contributor

philippjfr commented Aug 27, 2018

Just to summarize what we discussed in the last meeting. The basic issue is that we need some way of reconstituting a plot, including all the drawing tool state, on the Python side so that we can run the selenium based png export. Since it is generally useful functionality to be able to save the state of annotators to file and restore the state, we should focus on having the annotators provide methods to:

a) Return a HoloViews object containing all the current state
b) Provide a method to save the object to files
c) Provide a method to restore an annotator from such a file

Once we have a) then we will get png export for free.

@kcpevey kcpevey added this to the Wishlist milestone Oct 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants