Restrict axis ticks labels to only show int values

Hello,

Were you guys able to solve this error? Even I am facing the same issues. for eg: Instead of 1, 1.5,2,2.5 converting to 1,2, it gets displayed as 1,1,2,2.

Also if I try to set the dtick as 1, it wont work for the plots which actually has large data.

Thanks
Mit