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

ENH: make data the first argument of all chart objects #895

Merged
merged 1 commit into from
May 23, 2018

Conversation

jakevdp
Copy link
Collaborator

@jakevdp jakevdp commented May 23, 2018

Fixes #816

This contains a backward incompatibility for anyone using the compound chart classes directly (e.g. FacetChart, RepeatChart) but none of our examples or documentation show this or recommend it.

The advantage is that it regularizes the API, and makes it easier to construct compound charts with data at the top level.

@jakevdp jakevdp merged commit 3ac5d87 into vega:master May 23, 2018
@jakevdp jakevdp deleted the arg-order branch May 23, 2018 18:26
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