| import matplotlib as mpl |
| # mpl.use('agg') |
| mpl.rcParams['figure.dpi']= 300 |
| import matplotlib.pyplot as plt |
| import numpy as np |
| |
| # font stuff |
| font = {'family' : 'DejaVu Sans', |
| 'weight' : 'light', |
| 'size' : 18} |
| |
| font1 = {'family' : 'DejaVu Sans', |
| 'weight' : 'light', |
| 'size' : 14} |
| |
| font2 = {'family' : 'DejaVu Sans', |
| 'weight' : 'light', |
| 'size' : 8} |
| |
| mpl.rc('font', **font) |