Image plotting

gammapy.image provides a few helper functions and classes to create publication-quality images.

Colormaps

The following example shows how to plot images using colormaps that are commonly used in gamma-ray astronomy (colormap_hess and colormap_milagro).

(Source code, png, hires.png, pdf)

../_images/colormap_example.png

Multi-panel Galactic plane survey image plots

The following example shows how to plot a very wide Galactic plane survey image by splitting it into multiple panels using the GalacticPlaneSurveyPanelPlot class.

(Source code, png, hires.png, pdf)

../_images/survey_example.png