bar_chart_race icon indicating copy to clipboard operation
bar_chart_race copied to clipboard

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

Open Stelvey opened this issue 2 years ago • 1 comments

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

Stelvey avatar Jun 24 '22 12:06 Stelvey

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

amrvx4 avatar Mar 01 '23 03:03 amrvx4