Skip to content

Organize colormaps documentation into meaningful categories#619

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/add-documentation-on-colormaps
Draft

Organize colormaps documentation into meaningful categories#619
Copilot wants to merge 2 commits intomainfrom
copilot/add-documentation-on-colormaps

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 4, 2026

The colormaps docs page was an unsorted flat list of ~170 colormap images with no context on when or why to use each one.

Changes

1D colormap sections

Section Examples
Perceptually Uniform Sequential (recommended defaults) viridis, plasma, inferno, magma
Sequential Blues, hot, fire, autumn, …
Diverging RdBu, BuWtRd, coolwarm, seismic, …
Cyclic hsv, Retinotopy_RYBCR, RGrB_tsi
Qualitative Set1Set3, Accent, jet, rainbow, …
Pycortex-specific J-series, HCP_MMP1, freesurfer_aseg_256, …

2D colormap sections (particularly improved per the issue)

Section Examples
2D Diverging BuOr_2D, PU_RdBu_covar, RdBu_2D, …
2D Retinotopy Retinotopy_HSV_alpha, eccentricity_alpha_2D, …
2D Sequential autumn_alpha, plasma_alpha, seismic_alpha, …
2D Miscellaneous BROYG_2D, custom2D_RB_bins_256

Each section includes a short description of the use-case. Dimension detection (is_2d()) now reads each image's shape dynamically rather than relying on name-pattern matching. The generated colormaps.rst is excluded via .gitignore and rebuilt at docs-build time.

Copilot AI linked an issue Apr 4, 2026 that may be closed by this pull request
Copilot AI changed the title [WIP] Add organized documentation on colormaps Organize colormaps documentation into meaningful categories Apr 4, 2026
Copilot finished work on behalf of mvdoc April 4, 2026 21:00
Copilot AI requested a review from mvdoc April 4, 2026 21:00
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.

Add documentation on colormaps

2 participants