scipy-yli/yli/graphs.py

8 lines
259 B
Python
Raw Normal View History

2023-02-07 18:50:15 +11:00
def init_fonts():
import matplotlib.pyplot as plt
plt.rcParams['font.family'] = 'Helvetica Neue LT Std'
plt.rcParams['text.latex.preamble'] = r'\usepackage{tgheros}\usepackage{newtxmath}'
plt.rcParams['font.size'] = 11
plt.rcParams['figure.dpi'] = 100