From d6f6ec21900f22d6207678f5fbb08e9c5258f3ea Mon Sep 17 00:00:00 2001 From: Jürgen Knödlseder Date: Fri, 11 Jul 2014 13:28:16 +0200 Subject: [PATCH] Adapt code --- pyext/ctools/plotutils.py | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/pyext/ctools/plotutils.py b/pyext/ctools/plotutils.py index c87ebf7..68de8ff 100644 --- a/pyext/ctools/plotutils.py +++ b/pyext/ctools/plotutils.py @@ -2,7 +2,7 @@ # This script provides a number of functions that are useful for handling # CTA observations. # -# Copyright (C) 2011-2014 Juergen Knoedlseder +# Copyright (C) 2014 Rolf Buehler # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -31,19 +31,21 @@ try: except: has_aplpy = False -# ===================== # -# Plot skymaps # -# ===================== # + +# ============= # +# Plot skymaps # +# ============= # def plotskymaps(modelmap, countmap): """ - Plot the model map - - Keywords: + Plot the model map. + + Parameters: modname - model input name evtname - events input name + Keywords: + None """ - - # load model map + # Load model map fig = plt.figure() f1 = aplpy.FITSFigure(countmap, figure=fig, subplot=[0.1,0.1,0.35,0.8]) f1.set_tick_labels_font(size='small') -- libgit2 0.21.4