ps_plotter/LPRDefaultPlotting.py
Luke fe6d3436e9 Refactored to try to split up the defaults from the main code
This is going to get ugly fast if I don't keep on top of it.
2018-07-18 11:46:46 -07:00

20 lines
764 B
Python

#!/usr/bin/env python3
################################################################################
# Define the prefered plotting defaults.
# These generally translate to how I want stuff to show up in IEEE papers.
# Note that when I do my debugging, I override figure.figsize in my testing
# enviornment.
################################################################################
from matplotlib import rcParams, pyplot as pp
rcParams['grid.alpha'] = 0.7
rcParams['grid.linestyle'] = ':'
rcParams['font.family'] = ['serif']
rcParams['font.size'] = 9.0
rcParams['mathtext.fontset'] = 'dejavuserif'
rcParams['mathtext.it'] = 'serif:italic'
rcParams['mathtext.bf'] = 'serif:bold'
rcParams['mathtext.sf'] = 'serif'
rcParams['mathtext.tt'] = 'monospace'