JavaScript
x
6
1
plt.figure(figsize=(28,8))
2
plt.xticks(rotation=90)
3
a = df2.groupby('Province/State')['Confirmed'].sum().astype('int64')
4
print(a)
5
a.plot(kind = 'bar')
6
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.
JavaScript
1
2
1
plt.ticklabel_format(useOffset=False,style='plain', axis='y')
2