Software
Blog
Course
More
To change the font color you can set the optional argument font_color when you create your chart object. For example
bar = BarRace.bar_race(canvas=canvas.canvas, df=df, font_color=(255,255,255)) canvas.add_sub_plot(bar)
This example sets the font of the bar race to white, for example if you want to have a black background.
To change the font color you can set the optional argument font_color when you create your chart object. For example
bar = BarRace.bar_race(canvas=canvas.canvas, df=df, font_color=(255,255,255)) canvas.add_sub_plot(bar)
This example sets the font of the bar race to white, for example if you want to have a black background.