Latex fo axis

Hi,

In doc for axis label it seems possible to add latex label.
what is string format?

I found myself an answer in doc

plot.xaxis.axis_label=r"$$x\cdot\pi$$"

It’s for a web server. I add in my html tempates

        <script type="text/javascript" src="https://cdn.bokeh.org/bokeh/release/bokeh-2.4.2.min.js"></script>
        <script type="text/javascript" src="https://cdn.bokeh.org/bokeh/release/bokeh-widgets-2.4.2.min.js"></script>
        <script type="text/javascript" id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js"></script>
        <script src="https://cdn.bokeh.org/bokeh/release/bokeh-mathjax-2.4.2.min.js" crossorigin="anonymous"></script>        
         <script type="text/javascript">
            Bokeh.set_log_level("info");
        </script>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.