Skip to content

Commit

Permalink
flake8 corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
madamow committed Oct 5, 2023
1 parent 93e27cc commit 2fd085c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/lsst/summit/utils/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ def plot(inputData,
case _:
raise TypeError("This function accepts numpy array, lsst.afw.image.Exposure components."
" Got {type(inputData)}")
if np.isnan(imageData).all() == True:

if np.isnan(imageData).all():
raise ValueError("The imageData contains only NaN values.")

interval = vis.PercentileInterval(percentile)
Expand Down

0 comments on commit 2fd085c

Please sign in to comment.