plot_sumpdf_components_pdfV1#
- zfit.plot.plot_sumpdf_components_pdfV1(model, *, plotfunc=None, scale=1, ax=None, linestyle=None, plotkwargs=None, extended=None)[source]#
Plot the components of a sum pdf.
- Parameters:
model – A zfit SumPDF.
plotfunc (
Callable|None) – A plotting function that takes theaxto plot on x, y, and additional arguments.scale – An overall scale factor to apply to the components.
ax – A matplotlib Axes object to plot on.
linestyle – A linestyle to use for the components. Default is “–“.
plotkwargs (
Mapping[str,object] |None) – Additional keyword arguments to pass to the plotting function.extended (
bool|None) – If True, plot extended components. If None, uses the model’s extended state.