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

Fixes altair-viz/altair#2191 #89

Closed
wants to merge 1 commit into from
Closed
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
3 changes: 3 additions & 0 deletions altair_saver/savers/_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,12 @@ def __init__(
mode: Optional[str] = None,
vega_cli_options: Optional[List[str]] = None,
stderr_filter: Optional[Callable[[str], bool]] = _default_stderr_filter,
scale_factor: Optional[float] = 1,
**kwargs: Any,
) -> None:
self._vega_cli_options = vega_cli_options or []
if scale_factor is not None:
self._vega_cli_options += ["-s %f" % scale_factor]
self._stderr_filter = stderr_filter
super().__init__(spec=spec, mode=mode, **kwargs)

Expand Down