Skip to content

changed stacked_bar_plot to use InteractionValues. #230

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

Advueu963
Copy link
Collaborator

Changed stacked_bar_plot to work with InteractionValues object.
Adjusted examples and tests accordingly.

@Advueu963 Advueu963 requested a review from mmschlk September 29, 2024 18:17
@Advueu963 Advueu963 self-assigned this Sep 29, 2024
@Advueu963 Advueu963 linked an issue Sep 29, 2024 that may be closed by this pull request
Copy link
Owner

@mmschlk mmschlk left a comment

Choose a reason for hiding this comment

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

I will test this where I commented it and then merge this.

Comment on lines +80 to +85
[
interaction_values.get_n_order_values(order)
.clip(min=0)
.sum(axis=tuple(range(1, order)))
for order in range(1, max_order + 1)
]
Copy link
Owner

Choose a reason for hiding this comment

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

This I will check out again if it's working as expected! :)

@mmschlk mmschlk merged commit 1d62801 into main Oct 18, 2024
9 checks passed
@mmschlk mmschlk deleted the 198-make-stacked-bar-plot-usable-with-interactionvalues-and-order branch October 18, 2024 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make Stacked Bar Plot Usable with InteractionValues and Order
2 participants