Hi @meetnaren,
I think the problem is with this line plotly: 'https://cdn.plot.ly/plotly-1.5.1.min.js?noext',
. This points to a very old version of plotly.js. Are you doing this because youβre working in some non-standard jupyter environment?
In any case, try setting the plotly url version to 1.43.1 (this is the version that plotly.py 3.5.0 ships with).
Hope that helps!
-Jon