Skip to content
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

Limit the plots displayed through .show() function #189

Open
1 task done
lsickert opened this issue May 29, 2023 · 0 comments
Open
1 task done

Limit the plots displayed through .show() function #189

lsickert opened this issue May 29, 2023 · 0 comments
Labels
enhancement New feature or request user qol Quality of life improvements for library users
Milestone

Comments

@lsickert
Copy link
Collaborator

Limit the plots displayed through .show() function

Description

Currently, the .show() function on the attribution output will display plots for all generated attributions by default. For larger batches, this can lead to huge outputs in a notebook/ large numbers of HTML files being generated. It might be preferable to provide a sensible default value to the number of plots that are displayed in a notebook and allow users to specify for themselves how many/which attributions they want to have visualized by referring to their index.

Similar functionality is already possible now by manually choosing the indices of out.sequence_attributions and calling the .show() methods of the individual attribution outputs, so this function would mainly be a convenience function for new users.

Motivation

see above

Additional context

Commit to Help

  • I'm willing to help with this feature.
@lsickert lsickert added enhancement New feature or request user qol Quality of life improvements for library users labels May 29, 2023
@gsarti gsarti added this to the v0.5 milestone Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request user qol Quality of life improvements for library users
Projects
None yet
Development

No branches or pull requests

2 participants