Skip to content

Conversation

andrzejnovak
Copy link
Member

No description provided.

@amangoel185 amangoel185 requested a review from henryiii June 17, 2022 20:59
cats = cat_ax if cat_ax.traits.discrete else np.arange(len(cat_ax.centers))
d1hists = [self[{overlay: cat}] for cat in cats]
if "label" in kwargs:
if isinstance(kwargs["label"], list) and len(kwargs["label"]) == len(cats):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it have to be a list? Couldn't it be any arbitrary collection? Except a string. I assume you are trying not to match on a string?

Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com>
@henryiii henryiii merged commit a93cf5a into scikit-hep:main Jun 27, 2022
@henryiii
Copy link
Member

Thanks! I think we are planning on a release later in the week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants