Render mathjax library in Streamlit

How could I render the mathjax library in Streamlit?
I would like to display the lambda function on the x-axis of the plotly plot but this is not working…
Any tips on how I could fix this and use greek letters for the plots?

Same problem. I tried putting

       <script type="text/javascript" async

into my script, following the instructions on Getting Started — MathJax 2.7 documentation, without luck. Did you manage to solve it?

Would be grateful for an example on how to use the “<script >” tag as described at the top of this page Latex (