This kind of example: ```r p <- plot_ly(x = ~s, y = ~s) %>% layout(xaxis = a, yaxis = a) p ``` should be rewritten as ```r fig <- plot_ly(x = ~s, y = ~s) fig <- fig %>% layout(xaxis = a, yaxis = a) fig ```