diff --git a/python/lsst/analysis/tools/actions/plot/skyPlot.py b/python/lsst/analysis/tools/actions/plot/skyPlot.py index fd228ec7b..a48aead67 100644 --- a/python/lsst/analysis/tools/actions/plot/skyPlot.py +++ b/python/lsst/analysis/tools/actions/plot/skyPlot.py @@ -357,8 +357,6 @@ def makePlot( colorVals[:] = 0 minColorVal, maxColorVal = self.colorbarRange(colorVals) - if n_xs < 5: - continue if not self.plotOutlines or "tract" not in sumStats.keys(): minRa = np.min(xs) maxRa = np.max(xs) @@ -369,6 +367,8 @@ def makePlot( maxRa += 1e-5 # There is no reason to pick this number in particular if minDec == maxDec: maxDec += 1e-5 # There is no reason to pick this number in particular + if n_xs < 5: + continue if self.publicationStyle: showExtremeOutliers = False