My question is related to this question.
I want to display for instance $\tilde{b}$
as ylabel in a Matplotlib plot.
MWE
import matplotlib
import matplotlib.pyplot as plt
matplotlib.rc('text', usetex=True)
plt.figure(1)
plt.plot(np.array([0, 1]), np.array([0, 1]))
plt.ylabel('$\tilde{b}$')
plt.show()
The result is that it just shows
ilde b
on the axis. I thought it was related to the fact that b is a consonant, but is does not work either with vowels.
What can I do?