HF RL Explorer

ENH Refactor nilearn.plotting : extract common code 3

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

The task

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

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