Hallo eyery one,
I need to adjust the ticks of x- and y-axis independently.
I wan’t to increase the ticks on the x-axis in paces of 1, and the ticks on the y-axis in paces of 0.1.
Is there any way of accomplish that in plotly?
Greetings
Hallo eyery one,
I need to adjust the ticks of x- and y-axis independently.
I wan’t to increase the ticks on the x-axis in paces of 1, and the ticks on the y-axis in paces of 0.1.
Is there any way of accomplish that in plotly?
Greetings
You can set the ticks on the two axes setting the key tickvals in xaxis, respectively yaxis dicts of layout.
For example
layout=dict(xaxis=dict(range=[0, 0.6],
tickvals=[0, 0.2, 0.4, 0.6]),
yaxis=dict(range=[1,2],
tickvals=[1, 1.5, 2])
)