How to make a needle plot using Python Plotly?

I would like to have a needle plot similar to the following figure using plotly.py .

The following figure was plotted with R. I am wondering if I can do it with Python. Thanks a lot.

library(ggplot2)
library(plotly)
p <- ggplot(data.frame(x=1:10, y=1:10),aes(x=x, ymax=y, ymin=0)) +
     geom_linerange()
ggplotly(p)