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

How do I force a video to be a fixed width? #60

Open
Stelvey opened this issue Jun 24, 2022 · 1 comment
Open

How do I force a video to be a fixed width? #60

Stelvey opened this issue Jun 24, 2022 · 1 comment

Comments

@Stelvey
Copy link

Stelvey commented Jun 24, 2022

I presume that bar_chart_race changes width of a video based on labels length. I have a huge DataFrame and some labels don't even show up on the chart and what it does is create a big empty space before labels. How do I set a fixed width for the video? I am pretty sure the video in official docs shows exactly what I want to accomplish --- labels don't change the width -> they just go out of screen if too long

@amrvx4
Copy link

amrvx4 commented Mar 1, 2023

figsize=(10, 6)
I was able to keep same video width and height with above code.

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

2 participants