There is an example of python syntax of labeling [here](https://plot.ly/python/LaTeX/). However, the latex is not rendered correctly:  This relates to these file: https://github.com/plotly/documentation/tree/source-design-merge/_posts/python/style/latex