0

So, say I have three datasets D1,D2,D3 I can use this guide to create the bars next to each other. Say I don't know how many data sets I have, lets call the number N, is there a way to create N bars aligned around the x-ticks, without the placement-parameters in ax.bars (x - width/2)? Or do I have to create the placement dynamically?

CutePoison
  • 4,679
  • 5
  • 28
  • 63
  • It is much easier to use [pandas bar plots](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.plot.bar.html) to get what you need. – JohanC Feb 15 '20 at 18:56
  • I have used around 2 hours to make the plots working - your solution took around 2 minutes! Feel free to post it as answer – CutePoison Feb 15 '20 at 19:01

0 Answers0