Skip to content

Fix colormaps in tutorials#2883

Merged
maxnoe merged 5 commits into
cta-observatory:mainfrom
aknierim:fix_cmap_docs
Nov 10, 2025
Merged

Fix colormaps in tutorials#2883
maxnoe merged 5 commits into
cta-observatory:mainfrom
aknierim:fix_cmap_docs

Conversation

@aknierim
Copy link
Copy Markdown
Contributor

Hi, this small PR fixes the colormaps in the Array Display and Use N-dimensional Histogram functionality and Interpolation tutorials.

The latter especially benefits from a perceptually uniform sequential colormap like inferno. In this particular case, I also changed the code for the plot to matplotlib's OOP interface.

Using a sequential colormap improves the plots at the end of the "N-dimensional
Histogram" tutorial. The `nipy_spectral` colormap unfortunately distorts
the visualization.
@ctao-sonarqube
Copy link
Copy Markdown

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

@maxnoe maxnoe added this to the v0.28.0 milestone Nov 10, 2025
@maxnoe maxnoe merged commit 0fcd8dd into cta-observatory:main Nov 10, 2025
13 checks passed
@aknierim aknierim deleted the fix_cmap_docs branch November 10, 2025 12:36
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.

3 participants