Closed musm closed 2 years ago
I was hoping the following would set the template to ggplot2 but alas. I'm not exactly sure what the issue is with the call?
ggplot2
using PlotlyJS config = PlotConfig(doubleClickDelay=1000) trace = bar( y = [3, 5, 3, 2], x = ["2019-09-02", "2019-10-10", "2019-11-12", "2019-12-22"], texttemplate = "%{label}", textposition = "inside" ) layout = Layout(xaxis_type= "date",template="ggplot2") plot(trace, layout)
It works like that:
layout = Layout(xaxis_type= "date", template=templates["ggplot2"])
Thank you, would be great to document!
I was hoping the following would set the template to
ggplot2
but alas. I'm not exactly sure what the issue is with the call?