I'm trying to remove the numbers between log scales in plot made using plot_ly in r. Follows the graph:
I need ticks on the x-axis only at 1, 2, and 3 and on the y-axis only at 100 and 10k. How can I achieve this?
Here is my code:
library(plotly)
d <- diamonds[sample(nrow(diamonds), 1000), ]
fig <- plot_ly(d, x = ~carat, y = ~price) %>% add_markers()
fig <- layout(fig, xaxis = list(type = "log"), yaxis = list(type = "log"))
fig

