Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Add a saver based on Kaleido #85

Closed
jakevdp opened this issue Dec 18, 2020 · 4 comments
Closed

Add a saver based on Kaleido #85

jakevdp opened this issue Dec 18, 2020 · 4 comments

Comments

@jakevdp
Copy link
Member

jakevdp commented Dec 18, 2020

This would make it easier to distribute and install the required dependencies: https://github.com/plotly/Kaleido

@bodacious-bill
Copy link

Seconding this. I recently stumbled upon Altair, and I love the speed and flexibility it offers.

However, my workplace is having problems with installing the odd dependencies of altair_saver, and making sure they work with our Jupyterlab implementation. Meanwhile, Kaleido is a simple installation and works fine with plotly.

I still prefer Altair to plotly, but I'm afraid I'll have to use plotly/Kaleido instead since I can't save charts to images with Altair currently.

@jakevdp
Copy link
Member Author

jakevdp commented Apr 2, 2021

Awesome - is this something you'd be willing to work on?

@bodacious-bill
Copy link

bodacious-bill commented Apr 2, 2021

Well, I would, but I don't really have a coding background. I'm an engineer and mainly code in python for data analysis. I don't know C++ or javascript.

Would I be able to contribute? I'd be happy to if so, but it seems out of my wheelhouse.

Edit: I just read through the Kaleido documentation on adding a scope, and then through all the mentioned code for plotly to see what it entailed. Seems like not only would it require some JS/C++ background to write the scope, but one would need to be familiar with the vega or vega-lite JS code as well.

@joelostblom
Copy link
Member

Since Altair 5.2, the functionality of Altair Saver is now available in Altair via the vl-convert package. Most of the functionality has been available since 5.0, and the main addition in 5.2 was PDF export. See the docs on how to save charts for more details

We are going to archive this repo, so I'm closing all the open issues and PRs before doing so. Try out the new options for saving charts mentioned above and if you run into issues, please open an issue directly in the altair or vl-convert repo.

@joelostblom joelostblom closed this as not planned Won't fix, can't repro, duplicate, stale Mar 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants