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 #63

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

inlogicwetrust commented 2 years ago

I have same issue with pandas_alive bar chart race

inlogicwetrust commented 2 years ago

Very interesting is that the line chart does not have same problem, only the bar chart has this issue.