Skip to content

Commit e27f476

Browse files
committed
Reverse the probability colormap
1 parent 2f4def8 commit e27f476

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pysteps/visualization/precipfields.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ def get_colormap(type, units='mm/h', colorscale='MeteoSwiss'):
336336

337337
return cmap, norm, clevs, clevsStr
338338
elif type == "prob":
339-
cmap = plt.get_cmap("OrRd_r", 10)
339+
cmap = plt.get_cmap("OrRd", 10)
340340
return cmap, colors.Normalize(vmin=0, vmax=1), None, None
341341
else:
342342
return cm.jet, colors.Normalize(), None, None

0 commit comments

Comments
 (0)