-
Notifications
You must be signed in to change notification settings - Fork 112
Expand file tree
/
Copy pathsettings.py
More file actions
28 lines (22 loc) · 1.03 KB
/
settings.py
File metadata and controls
28 lines (22 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
"""Settings for plots."""
from collections import OrderedDict
###################################################################################################
###################################################################################################
# Define default figure sizes
PLT_FIGSIZES = {'spectral' : (10, 8),
'params' : (7, 6),
'group' : (12, 10)}
# Define defaults for colors for plots, based on what is plotted
PLT_COLORS = {'data' : 'black',
'periodic' : 'green',
'aperiodic' : 'blue',
'model' : 'red'}
# Levels for scaling alpha with the number of points in scatter plots
PLT_ALPHA_LEVELS = OrderedDict({0 : 0.50,
100 : 0.40,
500 : 0.25,
1000 : 0.10})
# Define a list of aliases for plot call inputs
PLT_ALIASES = {'linewidth' : ['lw', 'linewidth'],
'markersize' : ['ms', 'markersize'],
'linestyle' : ['ls', 'linestyle']}