useagab#
- agabpylib.plotting.plotstyles.useagab(usetex=False, fontfam='sans-serif', fontsize=18, sroncolours=False, ncolors=4, axislinewidths=1, linewidths=2, lenticks=6, return_colours=False)#
Configure the plotting style to my liking.
- Parameters:
usetex (boolean) – Whether or not to use LaTeX text (default True).
fontfam (str) – Font family to use (default ‘serif’)
fontsize (int) – Font size (default 18)
sroncolours (boolean) – If true use colour-blind proof distinct colours (https://personal.sron.nl/~pault/).
ncolors (int) – Number of distinct colours to use (applies to SRON colours only, default 4)
axislinewidths (float) – Width of lines used to draw axes (default 1)
linewidths (float) – Width of lines used to draw plot elements (default 2)
lenticks (float) – Length of major tickmarks in points (default 6, minor tick marks adjusted automatically)
return_colours (bool) – If true return the list of line/symbol colours.
- Returns:
colours_used – The list of colours used by the colour cycler (optional).
- Return type:
list