Deprecate darkness in surf_plotting functions #3501
Labels
Code quality
This issue tackles code quality (code refactoring, PEP8...).
Effort: low
The issue is likely to require a small amount of work (less than a few hours).
Good first issue
Good for newcomers. Equivalent to "very low" effort.
Plotting
The issue is related to plotting functionalities.
Priority: medium
The task is important but not urgent and should be addressed over the next few months.
This is a follow-up issue from #3173.
We should start a deprecation cycle for
darkness
in all functions inplotting.surf_plotting
.Indeed, this parameter is currently used to set a maximum value to a scaled background map (ie whose values are in [0,1]):
bg_map = darkness * bg_map
.In the future, background maps will no longer be scaled by
nilearn
, so it no longer makes sense to have adarkness
parameter.The text was updated successfully, but these errors were encountered: