-
Notifications
You must be signed in to change notification settings - Fork 17
Categorical data is now correctly colored in the legend when plotting v2 #323
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
Categorical data is now correctly colored in the legend when plotting v2 #323
Conversation
for more information, see https://pre-commit.ci
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #323 +/- ##
==========================================
- Coverage 80.34% 79.27% -1.08%
==========================================
Files 11 11
Lines 1745 1785 +40
==========================================
+ Hits 1402 1415 +13
- Misses 343 370 +27
|
if (render_params.fill_alpha != render_params.outline_alpha) and render_params.contour_px is not None: | ||
# First get the labels infill and plot them | ||
# default case: no contour, just fill | ||
# if fill_alpha and outline_alpha are the same, we're technically also at a no-outline situation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@timtreis Probably just an edge case, but if the user increases the outline width when fill_alpha == outline_alpha
one would expect the labels to get bigger which would not happen since it's treated as no-outline, correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hm, yes, that's true. Will send follow-up PR to cover this edge case. Good catch!
Successor of #262 to avoid solving unneccecary merge conflicts due to age