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

Update show() functions to allow plotting both conf and pred simulataneously #427

Open
rwood-97 opened this issue May 9, 2024 · 0 comments
Labels
enhancement New feature or request load Issues related to the "Load" functionality new feature

Comments

@rwood-97
Copy link
Collaborator

rwood-97 commented May 9, 2024

Is your feature request related to a problem? Please describe.
At the moment, you can only plot one column at a time using the show function. i.e. you can only plot the predicted labels or the confidence scores but not both at the same time.
This is annoying as it would be useful to see both simulatenously.

Describe the solution you'd like
Some options of how this could be improved:

  1. Each label could have its own colour (same as currently happens when you call show() with "pred"). You could then set the confidence score as the alpha value for these (potentially up to a max alpha of 0.5).
  2. Each label has its own colour scale, eg. https://matplotlib.org/stable/users/explain/colors/colormaps.html#sequential. but alpha stays constant.
  3. You plot "conf" but filter for only one label at a time. All the rest have alpha=0 (i.e. no colour).

Relates to this view.
image

@rwood-97 rwood-97 added enhancement New feature or request new feature load Issues related to the "Load" functionality labels May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request load Issues related to the "Load" functionality new feature
Projects
Status: Upcoming
Development

No branches or pull requests

1 participant