Skip to content

Commit

Permalink
Address SonarQube findings
Browse files Browse the repository at this point in the history
Issue: Remove or correct this useless self-assignment.
  • Loading branch information
jvgeiger committed Oct 14, 2021
1 parent 68b6e72 commit ec6d6ed
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ def plotmap(var, lats, lons, lat_min, lat_max, lat_int, lon_min, lon_max, lon_in
if plottype == 'mesh':
cs=m.pcolormesh(xi, yi, var, vmax=cbmax, vmin=cbmin, cmap=cmap)
elif plottype == 'contour':
cmap = cmap
cmap.set_under(col_under)
cmap.set_over(col_higher)
norm = mpl.pyplot.cm.colors.Normalize(vmax=cbmax, vmin=cbmin, clip=False)
Expand Down
1 change: 0 additions & 1 deletion lvt/utils/usaf/s2smetric/lib_bcsd_metrics/Shrad_modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ def plotmap(var, lats, lons, lat_min, lat_max, lat_int, lon_min, lon_max, lon_in
if plottype == 'mesh':
cs=m.pcolormesh(xi, yi, var, vmax=cbmax, vmin=cbmin, cmap=cmap)
elif plottype == 'contour':
cmap = cmap
cmap.set_under(col_under)
cmap.set_over(col_higher)
norm = mpl.pyplot.cm.colors.Normalize(vmax=cbmax, vmin=cbmin, clip=False)
Expand Down

0 comments on commit ec6d6ed

Please sign in to comment.