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