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

Sizing charts #28

Open
pratapvardhan opened this issue Aug 30, 2019 · 0 comments
Open

Sizing charts #28

pratapvardhan opened this issue Aug 30, 2019 · 0 comments

Comments

@pratapvardhan
Copy link
Contributor

Should all charts be wrapped with

_DEFAULT_WIDTH = 400

return alt.Chart(...).(...)..properties(width=kwargs.get('width', _DEFAULT_WIDTH))

This would make fewer data points barchart also look consistently sized. As opposed to using rangeStep.

For facet charts, perhaps, _DEFAULT_WIDTH could be applied for each column or approximately be chart width?

cc @jakevdp

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