Closed
Description
Examples for how it should work (using R's plotly package)
Works fine:
library(plotly)
p <- plot_ly(
width = 800,
height = 500
) %>% layout(
title = "fixed-ratio axes",
xaxis = list(
nticks = 10,
domain = c(0, 0.45)
) )
p
Does not yet work:
library(plotly)
p <- plot_ly(
width = 800,
height = 500
) %>% layout(
title = "fixed-ratio axes",
xaxis = list(
nticks = 10,
domain = c(0, 0.45),
tickmode='array'
) )
p
This feature is specifically important for creating cluster-heatmaps that allow more refined control over the number of ticks (see here)