有人知道如何更改字体大小吗?我附上了一个示例代码示例。
library(plotly)
p <- plot_ly(
type = 'scatterpolar',
r = c(39, 28, 8, 7, 28, 39),
theta = c('A','B','C', 'D', 'E', 'A'),
fill = 'toself'
) %>%
layout(
polar = list(
radialaxis = list(
visible = T,
range = c(0,50)
)
),
showlegend = F
)
我尝试过类似的操作:titlefont = list(size = 25),tickfont = list(size = 25)