dexplo / bar_chart_race

Create animated bar chart races in Python with matplotlib
MIT License
1.35k stars 351 forks source link

Negative sums does not display #64

Open Sonyblack22 opened 2 years ago

Sonyblack22 commented 2 years ago

The graph only display full length bar for positive sums data.

My issue is that I have negative sum date that goes to -20,-40. Like stock market cumsum returns.

Is there a way to center the graph so it can display both the negative sum and the positive sum.

Can we add parameters such as xmin ymin or bar_length that can be adjustable to the user depending on the range of the data (-+)

Right now the graph only fully displays the bars with positive sums data and it does not display the full length of the bars with negative sum data.

And if we could add images to the chart titles would be nice. Like a company logo image next to the period label and date label.

Please update for data range to be displayed equally on the negative and positive and image could be added next to the period label and date label.

Issue

@Sonyblack22

Issue