I am plotting a graph with seaborn as sns and pylab as plt:
plt.figure(figsize=(10,10),)
sns.barplot(y = 'whatever_y', x = 'whatever_x' , data=mydata)
plt.xticks(fontsize=14, fontweight='bold')
The xticks are supposed to be 0, 1, 2, 3 but they are plotted like so: 0.0, 1.0, 2.0, 3.0
Does anyone know what I have to add to get them as integers? - (The data is a pandas dataframe) Thanks