I am using plotly.graph_objcects to plot scatter plots with log scales. Given the size of the plots, I want to only show every base 10 value like 1,10,100, etc… and show the every even interval in between so like 2,4,6,8 between 1 and 10 and 20,40,60,80 between 10 and 100. Currently, I am using the dticks =‘D1’ to show every integer between base 10 values (i.e 1,2,3…10 and 10,20,30…100 ) .
What options are out there to get only the even numbers and base 10?
Current code part:
if log_x:
plot.update_layout(
xaxis = dict(
showexponent = 'all',
exponentformat = 'power',
minexponent= 0,
type="log"
)
)
plot.update_xaxes(showgrid = True, dtick='D1')