zfit.plot.plot_sumpdf_components_pdfV1(model, *, plotfunc=None, scale=1, ax=None, linestyle=None, plotkwargs=None)[source]#

Plot the components of a sum pdf.

  • model – A zfit SumPDF.

  • plotfunc (Optional[Callable]) – A plotting function that takes the ax to 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 (Optional[Mapping[str, object]]) – Additional keyword arguments to pass to the plotting function.