Closed zerothi closed 10 months ago
Yes, I think we can remove this and use it privately instead of having it in the hubbard
library.
We only have to copy these lines when we want to plot with tex rendering:
import matplotlib.pyplot as plt
import matplotlib
# Install font rc params
usetex = matplotlib.checkdep_usetex(True)
plt.rc('text', usetex=usetex)
plt.rc('font', family='Dejavu Sans', size=16)
This is now fixed in commit 0eeada2 @zerothi Could you check if it works now?
It works now! Thanks!
See here https://github.com/matplotlib/matplotlib/issues/23244
It was never intended to be public API, I have problems using matplotlib and hubbard (basically it can't work).