您好stackoverflow专家!
我在R中有一个这样的图
library(plotly)
x <-c("2016","2017","2018","T1","T2")
random_y <- rnorm(5, mean = 0)
data <- data.frame(x, random_y)
fig <- plot_ly(data, x = ~x, y = ~random_y, type = 'scatter', mode = 'lines')
fig
我想使用python bokeh来重现它,但是我无法使用分类值(T1,T2 ...)画线?
谢谢!