Plot_ly graphing customization

I am using plot_ly() … to create certain plots but I am running into an issue with formatting custom tick marks on the x axis. For example, if I want the ticks to appear in an unevenly increasing order (ex: 1,2,5,100,200,300) is there a way that I can do this where each tick mark is spaced evenly. What I am getting right now is that in proportion to the graph as a whole, the 1,2,5 are squished to the very left but is there a way to make it so every tick mark is evenly spaced?