plt.figure(figsize=(28,8)) plt.xticks(rotation=90) a = df2.groupby('Province/State')['Confirmed'].sum().astype('int64') print(a) a.plot(kind = 'bar')
When I am trying to create graph for above code It’s converting into the Exponential. How can I prevent That?
Advertisement
Answer
I do not know the size of your data set. But you can try this.
plt.ticklabel_format(useOffset=False,style='plain', axis='y')