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

Internal: add inheritance structure to core classes #1803

Merged
merged 3 commits into from
Nov 23, 2019

Conversation

jakevdp
Copy link
Collaborator

@jakevdp jakevdp commented Nov 23, 2019

The set of schema definitions in Vega-Lite have a hierarchical structure, but up until now Altair's class structure constructed from them has been flat. This PR uses the structure declared by the schema definitions to infer a hierarchical structure for the classes, which simplifies instances of type checking within the API code.

@jakevdp jakevdp changed the title ENH: add inheritance structure to core classes Internal: add inheritance structure to core classes Nov 23, 2019
@jakevdp jakevdp merged commit 4c33b14 into vega:master Nov 23, 2019
@jakevdp jakevdp deleted the schema-inheritance branch November 23, 2019 06:22
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

Successfully merging this pull request may close these issues.

1 participant