MapPanelPlotter#
- class gammapy.visualization.MapPanelPlotter(figure, xlim, ylim, npanels=4, **kwargs)[source]#
Bases:
object
Map panel plotter class.
Given a
Figure
object this class creates axes objects usingGridSpec
and plots a given sky map onto these.- Parameters
Methods Summary
plot
(map, **kwargs)Plot sky map on all panels.
plot_panel
(map[, panel, panel_fov])Plot sky map on one panel.
Methods Documentation
- plot_panel(map, panel=1, panel_fov=None, **kwargs)[source]#
Plot sky map on one panel.
- Parameters
- map
WcsNDMap
Map to plot.
- panelint
Which panel to plot on (counted from top). Default is 1.
- panel_fovint, optional
Field of view of the panel. Default is None.
- kwargsdict
Keyword arguments to be passed to
plot
.
- map