Classes | |
class | ColorScheme |
Functions | |
def | AddLogo |
def | DarkenColor |
def | InitMatplotlib |
def | LatexifyUnits |
def | RoundAwayFromZero |
def | SavePlot |
Variables | |
tuple | FONT_PROPS_AX_TITLE = FontProperties(size="x-large", weight="bold") |
tuple | FONT_PROPS_SUPTITLE = FontProperties(size="x-large", weight="bold", stretch="condensed") |
tuple | FONT_PROPS_TICK_LABEL = FontProperties(size="large", weight="bold") |
tuple | FONT_PROPS_TITLE = FontProperties(size="large", weight="regular") |
def public_plots_tools.AddLogo | ( | logo_name, | |
ax, | |||
zoom = 1.2 |
|||
) |
Read logo from PNG file and add it to axes.
Definition at line 39 of file public_plots_tools.py.
Referenced by create_public_lumi_plots.PlotAllYears(), and create_public_peakpu_plots.PlotPeakPUAllYears().
def public_plots_tools.DarkenColor | ( | color_in | ) |
def public_plots_tools.InitMatplotlib | ( | ) |
def public_plots_tools.LatexifyUnits | ( | units_in | ) |
Definition at line 73 of file public_plots_tools.py.
Referenced by create_public_lumi_plots.PlotAllYears().
def public_plots_tools.RoundAwayFromZero | ( | val | ) |
Definition at line 60 of file public_plots_tools.py.
def public_plots_tools.SavePlot | ( | fig, | |
file_name_base | |||
) |
Little helper to save plots in various formats.
Definition at line 215 of file public_plots_tools.py.
Referenced by create_public_lumi_plots.PlotAllYears(), and create_public_peakpu_plots.PlotPeakPUAllYears().
tuple public_plots_tools.FONT_PROPS_AX_TITLE = FontProperties(size="x-large", weight="bold") |
Definition at line 21 of file public_plots_tools.py.
tuple public_plots_tools.FONT_PROPS_SUPTITLE = FontProperties(size="x-large", weight="bold", stretch="condensed") |
Definition at line 19 of file public_plots_tools.py.
tuple public_plots_tools.FONT_PROPS_TICK_LABEL = FontProperties(size="large", weight="bold") |
Definition at line 22 of file public_plots_tools.py.
tuple public_plots_tools.FONT_PROPS_TITLE = FontProperties(size="large", weight="regular") |
Definition at line 20 of file public_plots_tools.py.