diff --git a/rubin_sim/maf/plots/__init__.py b/rubin_sim/maf/plots/__init__.py index 42dee1af..217a0fd8 100644 --- a/rubin_sim/maf/plots/__init__.py +++ b/rubin_sim/maf/plots/__init__.py @@ -7,6 +7,7 @@ from .oned_plotters import * from .perceptual_rainbow import * from .plot_handler import * +from .skyproj_plotters import * from .spatial_plotters import * from .special_plotters import * from .two_d_plotters import * diff --git a/rubin_sim/maf/plots/skyproj_plotters.py b/rubin_sim/maf/plots/skyproj_plotters.py index dec5a449..dc8ed177 100644 --- a/rubin_sim/maf/plots/skyproj_plotters.py +++ b/rubin_sim/maf/plots/skyproj_plotters.py @@ -319,6 +319,7 @@ def __call__(self, metric_values, slicer, user_plot_dict, fig=None): self._initialize_plot_dict(user_plot_dict) self._prepare_skyproj(fig) self.draw(metric_values, slicer) + self.decorate() # Do not show axis labels unless they are specified as decorators. if "xlabel" not in self.plot_dict["decorations"]: @@ -327,8 +328,6 @@ def __call__(self, metric_values, slicer, user_plot_dict, fig=None): if "ylabel" not in self.plot_dict["decorations"]: self.skyproj.set_ylabel("", visible=False) - self.decorate() - if self.plot_dict["label"] is not None: label_kwargs = {} if "fontsize" in self.plot_dict: