I think ‘minor’ attribure is not working properly. Right??
In the R code below, the minor grid line is not visible.
plot_ly() |>
add_trace(type = ‘scatter’, mode = ‘markers’, x = c(10, 20, 30), y = c(10, 20, 30)) |>
layout(xaxis = list(minor = list(dtick = 1, showgrid = TRUE, gridcolor = ‘lightgray’)))
However, the python code that does the same works fine.
fig = go.Figure()
fig.add_trace(go.Scatter(
mode = ‘markers’,
x = [10, 20, 30],
y = [10, 20, 30]
))
fig.update_layout(xaxis = dict(minor = dict(dtick = 1, showgrid = True, gridcolor= ‘lightgray’)))
I want to help about this.