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

Rewrite Altair integration to work with Vega-Lite dict config directly #40

Open
roveo opened this issue Jul 28, 2022 · 0 comments
Open

Comments

@roveo
Copy link
Contributor

roveo commented Jul 28, 2022

Right now both valid VL config construction from the metrics and dimensions passed to Altair
and resolving the config to query/rendering the config is done by monkeypatching Altair with additional methods.

The idea here is to divide this into two parts: resolving is done with Altair, and then querying is handled by a separate class that can work with VL configs directly, without Altair.

This will allow several things:

  • Users will be able to write VL configs by hand, allowing us to support versions of VL newer than current Altair version.
  • The potential frontend applications will be able to send VL configs to the backend, which will be then handled by Dictum without invoking Altair and constructing altair.Chart instance, again, allowing to use newer versions of VL on the frontend (important with the upcoming labels and other features)
@roveo roveo added this to the Dictum 0.2.0 milestone Jul 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant