R Plotly box plot space between axis label and actual graphic

Hi,

I’m making a box plot as shown here:

My plot comes out horizontally. I would like to reduce the space between the text and the plot. I’m trying to figure out what parameter I would change and am not having much luck.

Any help would be much appreciated.

My code now looks like:

plot_ly(myData, x = waitTime, color = Store, type = "box", showLink = FALSE, boxmean = TRUE)
config(p, showLink = FALSE, sendData = FALSE, displayModeBar = FALSE)

Unfortunately, some store names are quite long and fall off the plot. However, there’s a bunch of blank space to the right of the store names…