diff --git a/bblib/methods.py b/bblib/methods.py index f20f65a..635af9e 100755 --- a/bblib/methods.py +++ b/bblib/methods.py @@ -130,7 +130,7 @@ def _run_centering(self, **kwargs) -> tuple: color_map = copy.copy( matplotlib.colormaps[self.plots_info["color_map"]] ) - color_map.set_bad(color_map.colors(0)) + color_map.set_bad(color_map(0)) pos = ax1.imshow( visual_img, norm=LogNorm(