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

Grouped barchart for <= 12 rows #13

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open

Grouped barchart for <= 12 rows #13

wants to merge 11 commits into from

Conversation

Casyfill
Copy link
Contributor

It seems to be impossible to control the width of the chart (and generally not useful) with a large number of rows

@Casyfill
Copy link
Contributor Author

It seems there is no way to fix the width of the repeat chart (one built using columns), right?

@jakevdp
Copy link
Member

jakevdp commented Aug 27, 2019

What kind of chart are you asking about?

@Casyfill
Copy link
Contributor Author

Casyfill commented Aug 27, 2019

This one - for a large number of rows it goes beyond the screen.

All charts are available via the notebook below - let me know if you'd prefer to drop it, but seems to be quite useful for testing - and could be used for documentation https://github.com/Casyfill/altair_pandas/blob/grouped-barchart/examples/basic_charts.ipynb

image

@domoritz
Copy link
Contributor

Unfortunately, grouped bar charts are currently implemented as faceted charts. Faceted charts cannot be sized top-down. We are working on adding offset as a new channel as a better alternative.

@Casyfill
Copy link
Contributor Author

Personally, I still think that plotting with grouped bar charts are not a great option for a large number of rows anyway - thus made this arbitrary split <=12.

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.

3 participants