I have a problem adding title to a plotly plot of heatmap type. p <- layout(title = “title”) doesn’t seem to do anything. I was wondering it there is a solution to this problem.
Thanks.
I have a problem adding title to a plotly plot of heatmap type. p <- layout(title = “title”) doesn’t seem to do anything. I was wondering it there is a solution to this problem.
Thanks.
If anyone has this problem remember to put %>% after the plot_ly function. An example would be:
plot_ly(x = xs,y = ys,z = zs,type = “heatmap”) %>% layout(title = “Your title”)