From e966b70b4a1c77a59444e2ba816ec6292a2361ed Mon Sep 17 00:00:00 2001 From: Massimiliano Lincetto Date: Fri, 20 Oct 2023 15:07:15 +0200 Subject: [PATCH] move logger --- skyreader/plot/__init__.py | 2 -- skyreader/plot/plot.py | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/skyreader/plot/__init__.py b/skyreader/plot/__init__.py index 6fe3ee9d..5a9fb996 100644 --- a/skyreader/plot/__init__.py +++ b/skyreader/plot/__init__.py @@ -2,5 +2,3 @@ from .plot import SkyScanPlotter __all__ = ["SkyScanPlotter"] - -LOGGER = logging.getLogger("skyreader.plot") diff --git a/skyreader/plot/plot.py b/skyreader/plot/plot.py index 1b9a1bc9..9c4a134e 100644 --- a/skyreader/plot/plot.py +++ b/skyreader/plot/plot.py @@ -22,8 +22,6 @@ from matplotlib import pyplot as plt from matplotlib import text -from . import LOGGER - from .plotting_tools import ( AstroMollweideAxes, DecFormatter, @@ -36,6 +34,8 @@ from ..event_metadata import EventMetadata from ..result import SkyScanResult +LOGGER = logging.getLogger("skyreader.plot") + class SkyScanPlotter: PLOT_SIZE_Y_IN: float = 3.85 PLOT_SIZE_X_IN: float = 6