@everyone I have a doubt. How do we plot a bar graph’s bars horizontally without using this much code. I mean is there a short alternative to this like some property or something?
https://matplotlib.org/3.1.1/api/_as_gen/matplotlib.pyplot.barh.html resolved my issue.