- Fix bug when running as root user on linux (#59)
- node-based saver hides window warnings that were displayed when saving interactive charts (#53, #57)
- node-based saver now accepts
vega_cli_optionsthat will be passed to command line (#52)
altair_saver.typesis now a public module. (#47)altair_saver.JavascriptErrornow importable at top-level. (#46)- Added top-level
available_formats()function, which returns the set of available formats. (#43)
- Fix bug in detecting npm binary path (#42)
save()now returns the serialized chart iffpis not specified (#41).fmt="json"now saves the input spec directly for both vega and vega-lite input. Additionally, thejsonformat inrender()outputs a JSON mimetype rather than a vega-lite mimetype (#34).render()andsave()with HTML format now have astandaloneargument that defaults to True forsave()and False forrender(), so that HTML output will work better in a variety of notebook frontends (#33).- HTML and Selenium output now respects embedding options set via
alt.renderers.set_embed_options(#30, #31).
- much improved documentation & test coverage.
- selenium: prefer chromedriver over geckodriver when both are available (#27)
- selenium: altair_saver respects altair themes (#22)
- selenium: improve javascript-side error handling (#19)
Initial release including:
- top-level
save()function - basic export (
.vl.json,.html) - Selenium-based export (
.vg.json,.png,.svg) - Node-based export (
.vg.json,.png,.svg,.pdf)