scipy-yli/yli/graphs.py

8 lines
259 B
Python

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