[plotly] Problem using latex in titles and axis labels

Hi!
I’m trying to use latex on a plotly figure (yaxis) but streamlit doesn’t recognize it and shows the raw code, but when I visualize in jupyter lab the latex code shows fine