Controlling the height of fluidRow in Shiny

plotly

#1

I know that there are similar questions already answered on stackoverflow. But, unfortunately, they do not work for me. I am using plotlyOutput() instead of plotOutput(), and following is how I have tried to change the height of a fluidRow():

fluidRow(
plotlyOutput("plot", height = 200)
)

Or,

fluidRow(
plotlyOutput("plot"),
div(style = "height:200px;")
)

However, nothing changes in my Shiny app. Is there any other option to change the height?


#2

I figured out the solution! It should be like this:

ggplotly(gg1, width = 1400, height = 300)