Python Pyx plot: Using \mathbb in axes label of plot

176 Views Asked by At

I am making plot in PyX.

To get (in LaTex language)

\mathrm{a}

you use

\rm{a}

(in PyX language).

I wanna get (in LaTex language)

\mathbb{a}.

How to do it in PyX language? Attempt of

\bb{a}

gives error message.

1

There are 1 best solutions below

0
On BEST ANSWER

You need to enable LaTeX by

text.set(text.LatexRunner)

By default PyX uses plain TeX.