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

oz.core/view! function should treat map inputs as singular vega/vega-lite specs #32

Closed
metasoarous opened this issue Jan 8, 2019 · 1 comment

Comments

@metasoarous
Copy link
Owner

Right now, the docs emphasize that the v! is to be used for single plots, and view! for composite hiccup+vega/lite documents. However, I don't see any reason that view! shouldn't accept a single map argument which is treats more or less the way v! does (default to :vega-lite with :mode :vega as an optional argument (or ideally reflect on a $schema/mode attribute in the spec?).

@metasoarous
Copy link
Owner Author

This has been supported for some time now. Closing.

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