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.
This commit is contained in:
parent
855e35367d
commit
fe6d3436e9
4 changed files with 198 additions and 52 deletions
20
LPRDefaultPlotting.py
Normal file
20
LPRDefaultPlotting.py
Normal file
|
@ -0,0 +1,20 @@
|
|||
#!/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'
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue