-
-
Notifications
You must be signed in to change notification settings - Fork 417
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
plot_ppc only plots one legend if there are multiple observed
#1540
Comments
We can change it to optionally have more than one legend, but I think this default makes sense at it reduces redundancy (and the data/ink ratio). |
Sure, but the second subplot is about versicolor (whilst the first one setosa), so is it really redundant to have an extra legend when the first one reads "observed setosa"? |
Yes, if you have that information on the x_label. Of course the current behavior is problematic, because we have one legend that is supposed to work for both plots but is referring only to the first. So I suggest to have as default one legend and remove from the legend the name of the variable. |
Agreed, that would be good - I'll work on a PR next week |
Thanks @MarcoGorelli! |
To Reproduce
Expected behavior
I think I'd have expected both subplots to have a legend
Additional context
The text was updated successfully, but these errors were encountered: