samples_cycler¶
-
hep_spt.
samples_cycler
(smps, *args, **kwargs)[source]¶ Generate a
cycler.Cycler
object were the labels are defined by “smps”, and the other parameters are left to the user. This function is useful when one wants to plot several samples with different matplotlib styles. This function allows to create acycler.Cycler
object to loop over the given samples and associated formats, where the “label” key is filled with the values from “smps”.