Shiny plotlyOutput() not responding to height and width sizes
I am creating a Shiny app with a plotly scatterplot. I am trying to keep the scatterplot square-shaped, but want a much larger size than its default. In the simple MWE below, for instance, I am setting the width and height parameters to 1400px. However, even when I change these values (say to 800px), it does not seem to make any change in the size of the plotly scatterplot. library(plotly) library(shiny) library(ggplot2) set.seed(1) dat <- data.frame(ID = paste0("ID", 1:100), x = rnorm(100), y = rnorm(100), stringsAsFactors = FALSE) ui <- shinyUI(fluidPage( titlePanel("title panel"),