Configuration

You may set the following values in a pplt/conf.py file:

Processing

aliases

A dictionary of aliases for your render modules. The key of each entry is the alias name, the value the actual linked-to module.

When using tuples here, the first value is the module and all following values are values passed to main()

aliases = {
    "alias":            "logspec",              # logspec.main()
    "logspec_real":     ("logspec", "real"),    # logspec.main("real")
    "logspec_synth":    ("logspec", "synth"),   # logspec.main("synth")
}

Styling

stylesheet

The Matplotlib style you wish to use. Use plt.style.available to see what styles you have available.

>>> plt.style.available
[u'dark_background', u'bmh', u'grayscale', u'ggplot', u'fivethirtyeight']
columnwidth

the width of your columns. You may resize the figure in LaTeX later on, but the resulting text size depends on a correct setting.

columnwidth = 244.6937  # Get this from LaTeX using \showthe\columnwidth
rc_params

A dictionary of values passed on to plt.rcParams.update()

rc_params = {
    'backend': 'ps',
    'axes.labelsize': 9,
    'legend.fontsize': 9,
    'xtick.labelsize': 8,
    'ytick.labelsize': 8,
    'text.usetex': True,
}

See also

Defining per-module RC settings RC Settings

sns_params

A dictionary of values passed on to sns.set()

sns_params = {
    'font': 'serif',
}

See also

Defining per-module RC settings RC Settings

tight_layout

Global setting do enable/disable tight layouts.

tight_layout = False