MCPcopy Create free account
hub / github.com/cselab/aphros / GetParams

Function GetParams

deploy/scripts/aphros/plot.py:37–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35kThin = False
36
37def GetParams():
38 import cycler
39 params = {
40 'font.size': 8,
41 'figure.figsize': (3.2, 2.4),
42 #'figure.autolayout': True,
43 'axes.autolimit_mode': 'round_numbers',
44 'axes.xmargin': 0,
45 'axes.ymargin': 0,
46 'axes.spines.top': False,
47 'axes.spines.right': False,
48 'axes.prop_cycle': cycler.cycler(color=g_colorscheme),
49 'lines.markersize': 3,
50 'lines.linewidth': 1.5,
51 }
52 return params
53
54def ApplyParams(plt):
55 plt.rcParams.update(GetParams())

Callers 1

ApplyParamsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected