Closed alexander-held closed 1 year ago
Patch coverage: 100.00
% and no project coverage change.
Comparison is base (
d761e30
) 100.00% compared to head (44c2666
) 100.00%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Adding a new
colors
argument tovisualize.data_mc
andvisualize.data_mc_from_histograms
(as well asvisualize.plot_model.data_mc
) that allows specifying color names per sample:colors={"signal": "red", "background": "blue"}
. Colors need to be provided for all samples, otherwise an exception is raised. If colors are invalid, an exception will later on be raised viamatplotlib
. The default behavior is unchanged, falling back to theseaborn-colorblind
colors.visualize.data_mc_from_histograms
was still missing thechannels
kwarg, this is now also included.resolves #381 (rest of that issue migrated to #265)