如何为R中的刻度标签提供更多空间

Mal*_*lta 1 r graph plotly

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

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")
Run Code Online (Sandbox Code Playgroud)

我看不到左边的标签,我也没有找到如何将垂直轴向右移动.

Ada*_*uek 6

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)
Run Code Online (Sandbox Code Playgroud)

在此输入图像描述