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
[DOC] Fix rendering of plots in some examples where titles or images are cut off #3753
Conversation
👋 @ymzayek 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 Report
@@ Coverage Diff @@
## main #3753 +/- ##
=======================================
Coverage 91.59% 91.59%
=======================================
Files 134 134
Lines 15694 15694
Branches 3270 3270
=======================================
Hits 14375 14375
Misses 770 770
Partials 549 549
Flags with carried forward coverage won't be shown. Click here to find out more. 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
LMK whenever you want me to have a look on it. |
The best way to review this is the doc build artifacts. Here is a link to the examples: https://output.circle-artifacts.com/output/job/caf24ad1-f374-48bc-9e74-1f3d185d7fbc/artifacts/0/dev/auto_examples/index.html Note that this PR does not correct the overlapping titles of matrix plots. I will do one more PR to fix those. |
@@ -43,6 +43,8 @@ | |||
# First, we retrieve data from nilearn provided (general-purpose) datasets | |||
# ------------------------------------------------------------------------ | |||
|
|||
import matplotlib.pyplot as plt |
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.
out of curiosity: why is this new import needed?
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.
it's used to change the figure size in the modified plots in L122 and L134. Maybe better to move it below to where it's used
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.
Good with me !! 🚀
Co-authored-by: Remi Gau <remi_gau@hotmail.com>
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.
Good to go!! Merging. |
Handles part of #3728