如何给更多 space 来标记 R 中的标签

how to give more space to ticks labels in R plotly

我在 r plotly 中有一个水平条形图,我想给刻度标签更多 space。请参阅下面的示例:

libelle <- c("financial activities","Agriculture, sylviculture and fishing","Manufacture of transport materials","financial activities","Agriculture, sylviculture and fishing","Manufacture of transport materials")
value <- c(15000000,987000,154000000,10000000,927000,15400000)
annee <- c("2011","2011","2011","2012","2012","2012")
data <- data.frame(libelle,value,annee)
plot_ly(data=data,x=value,y=libelle,group=annee,type="bar",orientation="h")

看不到左边的标签,也没找到怎么把纵轴向右移动

m <- list(l=250, r=50, b=50, t=10, pad=4)
plot_ly(data=data,x=value,y=libelle,group=annee,type="bar",orientation="h") %>% layout(margin=m)