MapPanelPlotter

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

Bases: object

Map 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.

xlimAngle

Angle object specifying the longitude limits.

ylimAngle

Angle object specifying the latitude limits.

npanelsint

Number of panels.

**kwargsdict

Keyword arguments passed to GridSpec.

Methods Summary

plot(self, map, \*\*kwargs)

Plot sky map on all panels.

plot_panel(self, map[, panel, panel_fov])

Plot sky map on one panel.

Methods Documentation

plot(self, map, **kwargs)[source]

Plot sky map on all panels.

Parameters
mapWcsNDMap

Map to plot.

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

Plot sky map on one panel.

Parameters
mapWcsNDMap

Map to plot.

panelint

Which panel to plot on (counted from top).