-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
BUG : Min/max markers on box plot are not visible with 'dark_background' (#40769) #41349
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
BUG : Min/max markers on box plot are not visible with 'dark_background' (#40769) #41349
Conversation
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.
this seems to align with the approval I submitted for the previous PR which got corrupted.
sorry, @yeshsurya a bit unlucky, I think this failure isn't related to your change, probably you will need another rebase |
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.
thanks! very nice! @yeshsurya
just a minor tip: use ``dark_background``
instead of 'dark_background'
would be more aligned with the syntax usually done in whatsnew notes ^^
thanks very much, very nice! |
…nd' (pandas-dev#40769) (pandas-dev#41349) * BUG : Fixing - Min/max markers on box plot are not visible with 'dark_background' (pandas-dev#40769) * DOC : Replace method path with uesr friendly version (pandas-dev#40769) * DOC : Formatting change in whatsnew note (pandas-dev#40769)
Color in boxplot.py should be a hex value. Letter based color will be at matplotlib level. Using same color as that of boxes for the caps as well. The color will be fetched based on the selected theme. We are over riding color with "k" , rather need to use the one set at matplotlib level.
Before Fix :
Caps for the box plot is not visible :

After Fix :
Caps for the box plow will be visible in dark background mode :

Whats New : Box Plot's Caps will have same color as boxes unless color is explicitly specified by user arguments. Hence theme changes will not adversly effect caps color.