HF RL Explorer

ENH Refactor nilearn.plotting : extract common code 5

ENH Refactor nilearn.plotting : extract common code 5: a task in life-science-SWE1.0 (Harbor dataset). Title: ENH Refactor nilearn.plotting : extract common code 5

The task

**Title:** [ENH] Refactor `nilearn.plotting`: extract common code 5

Part of scalingX/life-science-SWE1.0.