I have a Seaborn boxplot with xticks that I am trying to format. Currently they look like the image below:
However, I want to have a tick at every 0.01 interval.
plt.xticks(range(-0.3,0.3,0.01)), however I am getting an error that reads
‘float’ object cannot be interpreted as an integer
Which I believe is because I cannot use float values with
range(). Any idea on how I can bypass this?
Source: Python Questions