Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

Aligning the title in plotly

I need to align my title to left. It was possible to do in R console using this code-
ggplot(data = df, aes(x = po, y = no)) + geom_line() +
ggtitle(“Unemployment in USA for some years”) +
theme(plot.title = element_text(hjust = -0.45, vjust=2.12)) + stat_smooth(method = “lm”, col = “blue”, se=FALSE)
But the same code is not working if we try to go for ggplotly().
plz help