question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support latex labels

See original GitHub issue

It would be great if bokeh would support latex labels either rendered via a native latex installation of mathjax, if available. As you probably all know matplotlib has a functionality like that which makes it really conventient for the scientitic community: http://matplotlib.org/1.3.1/users/usetex.html

Possible syntax:

import bokeh.plotting as bplt
import numpy as np
bplt.output_notebook()

bplt.scatter(np.random.randn(100), np.random.randn(100))
bplt.xaxis().axis_label=r'$f(x)$'
bplt.show()

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Reactions:5
  • Comments:49 (21 by maintainers)

github_iconTop GitHub Comments

3reactions
maxnoecommented, Sep 7, 2016

I’m a physicist, for me, the proper rendering of math is at the very core of a plotting library.

1reaction
maxnoecommented, Sep 7, 2016

Then I really would like to see a plugin system, which makes that easy.

My point is: The quoted example is not something which makes me think: “Oh this is solved now”. I would strongly opt for this issue to be reopened.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Creating LaTeX labels — Bokeh 2.4.1 Documentation
This example shows how to create a custom LatexLabel class that uses a third-party JavaScript library, KaTeX, to render LaTeX onto the plot....
Read more >
Keep track of your labels with showlabels - Overleaf
An online LaTeX editor that's easy to use. No installation, real-time collaboration, version control, hundreds of LaTeX templates, and more.
Read more >
Latex labels on figures - Mathematical Communication
LaTeX labels can be made separately (e.g., online here or in LaTeXiT), ... A little support for 3-D. It's good when you want...
Read more >
Printing labels into file to support editor - LaTeX Stack Exchange
A manual way to get TXS to recognize the labels is to just create a .cwl entry for each of your new 'counters'....
Read more >
How do I reference my LaTeX tables or equations?
To reference a LaTeX table or equation in LaTeX you need to make sure that you insert a label in your table or...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found