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
[MAINT] add warning to deprecate darkness #3855
[MAINT] add warning to deprecate darkness #3855
Conversation
👋 @alishakodibagkar 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 #3855 +/- ##
=======================================
Coverage 91.59% 91.59%
=======================================
Files 134 134
Lines 15694 15698 +4
Branches 3270 3270
=======================================
+ Hits 14375 14379 +4
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 |
Love the title of this PR: I wished I too could deprecate darkness from life. :-p |
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 seems to be some import sorting issue.
https://github.com/nilearn/nilearn/actions/runs/5604371031/jobs/10252858142?pr=3855#step:5:12
Try running:
isort .
in the root nilearn folder to fix the issue
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.
Changes look good to me but you should:
- add an entry to the changelog
- add yourself to the list of contributors
see here: https://nilearn.github.io/dev/development.html#changelog
and ask us if you need guidance
See this comment from @alexisthual that mentions that we can deprecate more darkness: |
The other location being here: nilearn/nilearn/plotting/html_surface.py Lines 81 to 82 in e002d24
|
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.
I made some suggestions for changes. You can just commit them and then we can see if the CI passes, this should be ready to merge.
Co-authored-by: Yasmin <63292494+ymzayek@users.noreply.github.com>
Co-authored-by: Yasmin <63292494+ymzayek@users.noreply.github.com>
Co-authored-by: Yasmin <63292494+ymzayek@users.noreply.github.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.
Thx @alishakodibagkar !
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. Thanks a bunch @alishakodibagkar
Closes #3501
Changes proposed in this pull request:
@Remi-Gau