-
Notifications
You must be signed in to change notification settings - Fork 790
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
Define vl-convert-python
dependency outside of altair[all]
#3608
Comments
Hi @apoorvkh, This can't be a required dependency of the I don't have a problem with adding an additional dependency group, but could you say more about why you wouldn't want to use the |
Thanks a lot for the explanation!
I just want to use Altair to plot / interact with my data and save to a static file, so I can put figures in my academic papers. I simply don't need any of these (besides Lines 57 to 66 in 712680b
E.g. not even |
I made a simple PR with the change, in case this is sufficiently compelling to you. Please let me know, thanks! |
vl-convert-python
to dependencies
vl-convert-python
dependency outside of altair[all]
What is your suggestion?
The
vl-convert-python
package is necessary for saving plots in PNG / SVG / PDF formats. I believe this is a rather critical function, so I'm wondering whyvl-convert-python
needs to be manually installed for this capability. (I see thataltair[all]
is an alternative, but I thinkvega_datasets
, etc. are less critical than the save functionality.)vl-convert-python
has zero dependencies. So I think this would be a simple addition. Maybe that is the reason Is this dependency optional because the built wheels are ~30 MB? Could this size be reduced?Thanks so much for your consideration!
Have you considered any alternative solutions?
Alternatively, could this (at least) be added to a new optional dependency group
altair[save]
, as suggested here?The text was updated successfully, but these errors were encountered: