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

Add new argument 'driver_arguments' to specify arguments in webdriver #69

Closed
wants to merge 1 commit into from

Conversation

steevensmelo
Copy link

I added the argument "driver_arguments" to the relevant Python functions to specify the arguments in the driver. I send the flags of the driver as follows:

chart.save('test.png', scale_factor = 2.0, driver_arguments = ['--no-sandbox'])

I hope you can check the code.

Thanks a lot.

Fixes #68

@joelostblom
Copy link
Member

Thanks for you PR @steevensmelo . As you have noticed, there hasn't been any development in this repo for a while. 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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Execute altair_saver with user apache
2 participants