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

When not running in browser, emit svgs to disk #21

Open
longouyang opened this issue Apr 16, 2016 · 2 comments
Open

When not running in browser, emit svgs to disk #21

longouyang opened this issue Apr 16, 2016 · 2 comments

Comments

@longouyang
Copy link
Member

No description provided.

@longouyang
Copy link
Member Author

This is basically supported by 89f9280 but:

  • I'm currently just logging the image SVG text to the console
  • It's asynchronous because Vega is asynchronous (and simple approaches, like wrapping in a fibers library, don't work here because everything would need to be wrapped in a synchronous call, not just the rendering part of the webppl model)

@longouyang
Copy link
Member Author

longouyang commented Jul 14, 2016

SVG now is emitted to disk.

Todo: write a mechanism for making vega rendering effectively synchronous (something like await for webppl), then we can close this.

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

No branches or pull requests

1 participant