I did try the sample code posted above when I was trying to get this to work. Do to the low views of this post and lack of other post around the web, I assumed it was a problem isolated to python and a specific version of the package. I started on plotly==5.5.0
I tried down grading to when px.timeline()
was introduced in plotly=4.9.0
with pip install plotly==4.9.0 --force-reinstall
. I restarted the kernel and still got the same error. So I updated to the latest plotly==5.18.0
restarted my kernel and it worked.
1 Like