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
[FIX] fix plotting of an image with color bar when maximum value is exactly zero #4204
Conversation
👋 @Remi-Gau Thanks for creating a PR! Until this PR is ready for review, you can include the [WIP] tag in its title, or leave it as a github draft. Please make sure it is compliant with our contributing guidelines. In particular, be sure it checks the boxes listed below.
For new features:
For bug fixes:
We will review it as quick as possible, feel free to ping us with questions if needed. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4204 +/- ##
=======================================
Coverage 92.09% 92.10%
=======================================
Files 144 144
Lines 16366 16368 +2
Branches 3426 3427 +1
=======================================
+ Hits 15073 15075 +2
Misses 754 754
Partials 539 539
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Oops, doc does not build. |
na it's my bad I meant to open this to show the bug and then fix it: should have been a draft PR |
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.
So far so good
given that the example tweaked in this PR will be nuked by #3191 I will probably not change the example file in this PR |
Then we need to couple the two merges because the example is broken. |
OK the bug exists in the PR #3191 if I use height_control="fdr" |
'bonferroni' correction is affected too |
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.
LGTM thx @Remi-Gau
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.
LGTM. Just beware the codecov complaint.
make_glm_report
fails inexamples/04_glm_first_level/plot_fiac_analysis.py
withheight_control="fdr"
#4203Changes proposed in this pull request: