diff --git a/source_detection/find_sources.py b/source_detection/find_sources.py index 9e97759e..c3ce4709 100644 --- a/source_detection/find_sources.py +++ b/source_detection/find_sources.py @@ -306,6 +306,9 @@ def fixed_color(shape, saved_attrs): while imdat.ndim > 2: imdat = imdat[0] + + if m==0 and n==0: + ax=plt.subplot(221, projection=w) if m==0 and n==1: ax=plt.subplot(222, projection=w) if m==1 and n==0: