MapPanelPlotter

class gammapy.image.MapPanelPlotter(figure, xlim, ylim, npanels=4, **kwargs)[source]

Bases: object

Mape panel plotter class.

Given a Figure object this class creates axes objects using GridSpec and plots a given sky map onto these.

Parameters:

figure :

Figure instance.

xlim : Angle

Angle object specifying the longitude limits.

ylim : Angle

Angle object specifying the latitude limits.

npanels : int

Number of panels.

**kwargs : dict

Keyword arguments passed to GridSpec.

Methods Summary

plot(image, **kwargs) Plot sky image on all panels.
plot_panel(image[, panel, panel_fov]) Plot sky image on one panel.

Methods Documentation

plot(image, **kwargs)[source]
Plot sky image on all panels.
Parameters:

map : WcsNDMap

Map to plot.

plot_panel(image, panel=1, panel_fov=None, **kwargs)[source]

Plot sky image on one panel.

Parameters:

map : WcsNDMap

Map to plot.

panel : int

Which panel to plot on (counted from top).