analyzer.postprocessing.plots.utils

Attributes

Functions

addAxesToHist(ax[, size, pad, position, extend, share])

scaleYAxis(ax)

makeDict(x)

saveFig(fig, out[, extension, metadata])

saveFigVariants(fig, ax, out, all_meta[, ...])

addLegend(ax, cfg, **legend_kwargs)

Module Contents

analyzer.postprocessing.plots.utils.INCLUDE_SIDECAR = True[source]
analyzer.postprocessing.plots.utils.addAxesToHist(ax, size=0.1, pad=0.1, position='bottom', extend=False, share=True)[source]
analyzer.postprocessing.plots.utils.scaleYAxis(ax)[source]
analyzer.postprocessing.plots.utils.makeDict(x)[source]
analyzer.postprocessing.plots.utils.saveFig(fig, out, extension='.pdf', metadata=None, **kwargs)[source]
analyzer.postprocessing.plots.utils.saveFigVariants(fig, ax, out, all_meta, plot_configuration=None, metadata=None, extra_text=None, text_color=None, **save_kwargs)[source]
analyzer.postprocessing.plots.utils.addLegend(ax: matplotlib.axes.Axes, cfg: analyzer.postprocessing.plots.common.PlotConfiguration, **legend_kwargs)[source]