Skip to content
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

Revert breaking behavior in plot_glass_brain #3924

Merged
merged 4 commits into from Aug 24, 2023

Conversation

ymzayek
Copy link
Member

@ymzayek ymzayek commented Aug 23, 2023

Changes proposed in this pull request:

@github-actions
Copy link
Contributor

👋 @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.

  • PR has an interpretable title.
  • PR links to Github issue with mention Closes #XXXX (see our documentation on PR structure)
  • Code is PEP8-compliant (see our documentation on coding style)
  • Changelog or what's new entry in doc/changes/latest.rst (see our documentation on PR structure)

For new features:

  • There is at least one unit test per new function / class (see our documentation on testing)
  • The new feature is demoed in at least one relevant example.

For bug fixes:

  • There is at least one test that would fail under the original bug conditions.

We will review it as quick as possible, feel free to ping us with questions if needed.

@codecov
Copy link

codecov bot commented Aug 23, 2023

Codecov Report

Merging #3924 (e501afb) into main (0b49cc0) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #3924   +/-   ##
=======================================
  Coverage   91.76%   91.76%           
=======================================
  Files         134      134           
  Lines       15747    15747           
  Branches     3283     3283           
=======================================
  Hits        14451    14451           
  Misses        752      752           
  Partials      544      544           
Flag Coverage Δ
macos-latest_3.10 91.68% <ø> (ø)
macos-latest_3.11 91.68% <ø> (ø)
macos-latest_3.8 91.64% <ø> (ø)
macos-latest_3.9 91.64% <ø> (ø)
ubuntu-latest_3.10 91.68% <ø> (ø)
ubuntu-latest_3.11 91.68% <ø> (ø)
ubuntu-latest_3.8 91.64% <ø> (ø)
ubuntu-latest_3.9 91.64% <ø> (ø)
windows-latest_3.10 91.62% <ø> (ø)
windows-latest_3.11 91.62% <ø> (ø)
windows-latest_3.8 91.58% <ø> (ø)
windows-latest_3.9 91.58% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
nilearn/plotting/img_plotting.py 89.54% <ø> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Member

@bthirion bthirion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thx



def test_plot_glass_brain_vmin_vmax(mni_3d_img):
"""Smoke tests for plot_glass_brain beaing passed vmin and vmax."""
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"""Smoke tests for plot_glass_brain beaing passed vmin and vmax."""
"""Smoke tests for plot_glass_brain beaing passed vmin and vmax."""

being + breaking = beaing ? 😉

@ymzayek ymzayek merged commit 457c79e into nilearn:main Aug 24, 2023
29 checks passed
@ymzayek ymzayek deleted the revert/plot-glass-brain-behavior branch August 24, 2023 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Revert plot_glass_brain behavior to silently ignore vmin
3 participants