-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[ENH] BoxPlot: Write the anova/t-test statistic onto the plot. #3945
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3945 +/- ##
==========================================
- Coverage 85.02% 85.02% -0.01%
==========================================
Files 378 378
Lines 66705 66688 -17
==========================================
- Hits 56715 56700 -15
+ Misses 9990 9988 -2 |
Codecov Report
@@ Coverage Diff @@
## master #3945 +/- ##
=========================================
+ Coverage 85.02% 85.13% +0.1%
=========================================
Files 378 378
Lines 66705 67124 +419
=========================================
+ Hits 56715 57144 +429
+ Misses 9990 9980 -10 |
def draw_stat(self): | ||
if self.stat_test: | ||
l = QGraphicsSimpleTextItem(self.stat_test) | ||
l.setFont(self._axis_font) |
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.
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.
Our _axis_font
, which is just the default (_axis_font = QFont()
), doesn't display some characters nicely? This is bad.
Issue
Fixes #3927
Description of changes
Move the t-test or anova statistic from the widget onto the plot, which puts it in the report and on the exported image.
Includes