0

The conventional plt.title(r'$\alpha$') for instance does not work in mpld3.enable_notebook(), whereas it does in normal matplotlib.pyplot.

Lars Kotthoff
  • 107,425
  • 16
  • 204
  • 204
mikal94305
  • 4,663
  • 8
  • 31
  • 40
  • Are you specifying UTF-8 as your content-type in the resulting HTML page? What does the final output SVG look like? Is the greek letter in there? With SVG and the correct content-type you can just use unicode characters... – Mark Jul 18 '15 at 13:41
  • this runs the title through LaTeX, just to produce the α symbol. Why not use UTF-8 encoding and do: `plt.title(u'α')` ? – Marijn van Vliet Jul 19 '15 at 18:41

1 Answers1

1

This is one of the many features of mpl that is not yet supported in mpld3. It would be great to have, and some steps towards implementation have been recorded here. Patches most definitely welcome!

Abraham D Flaxman
  • 2,969
  • 21
  • 39