there is no documentation on this at all and so I am just putting this out there as these questions on Plotly forums are never answered (although there being a lot of views for these questions, indicating lots of people encounter this problem).
Would appreciate any ideas.