bar_chart_race icon indicating copy to clipboard operation
bar_chart_race copied to clipboard

Using Images as Labels for Each Bar

Open andresberejnoi opened this issue 5 years ago • 1 comments

I checked that there is already a closed issue about this and that it is in the works. Is there any update? I want to show an image (circular if possible) for each category or bar instead of text. For example, for the covid-19 dataset, I would like to be able to show country flags instead of the name (or maybe both would also be useful).

If I wanted to make this addition myself, where in the code would be the best place to start working on? Is this a feature of matplotlib?

andresberejnoi avatar Jul 22 '20 18:07 andresberejnoi

I forked the repository and started working on a new branch to add images to the bars. I will post the link here so that if anyone wants to help o have any suggestions, they can add to it too. I guess I could do a pull request here now, but I'm not sure if it is good enough yet. The link is here:

https://github.com/andresberejnoi/bar_chart_race/tree/image_labels

andresberejnoi avatar Jul 31 '20 20:07 andresberejnoi