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

fix: remove webdriver default argument to save #2466

Merged
merged 3 commits into from
Dec 28, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions altair/utils/save.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def save(
vegalite_version=None,
embed_options=None,
json_kwds=None,
webdriver="chrome",
webdriver=None,
scale_factor=1,
**kwargs,
):
Expand All @@ -45,21 +45,21 @@ def save(
Either 'vega' or 'vegalite'. If not specified, then infer the mode from
the '$schema' property of the spec, or the ``opt`` dictionary.
If it's not specified in either of those places, then use 'vegalite'.
vega_version : string
vega_version : string (optional)
For html output, the version of vega.js to use
vegalite_version : string
vegalite_version : string (optional)
For html output, the version of vegalite.js to use
vegaembed_version : string
vegaembed_version : string (optional)
For html output, the version of vegaembed.js to use
embed_options : dict
embed_options : dict (optional)
The vegaEmbed options dictionary. Default is {}
(See https://github.com/vega/vega-embed for details)
json_kwds : dict
json_kwds : dict (optional)
Additional keyword arguments are passed to the output method
associated with the specified format.
webdriver : string {'chrome' | 'firefox'}
webdriver : string {'chrome' | 'firefox'} (optional)
Webdriver to use for png or svg output
scale_factor : float
scale_factor : float (optional)
scale_factor to use to change size/resolution of png or svg output
**kwargs :
additional kwargs passed to spec_to_mimebundle.
Expand Down