Skip to content

Commit

Permalink
Merge pull request #1699 from UV-CDAT/load_colormap_old_style_transpa…
Browse files Browse the repository at this point in the history
…rency_issue

fixed issue where old scr colormap file would not load opacity
  • Loading branch information
aashish24 committed Nov 23, 2015
2 parents 2450a2d + 344cea0 commit f89af2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Packages/vcs/Lib/colormap.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def process_src(nm, code):
for i in range(255):
val = numbers[i * 3:i * 3 + 3]
if val != ():
d[i] = list(val)
d[i] = list(val) + [100]
cp = Cp(nm)
cp.index.data.update(d)

Expand Down

0 comments on commit f89af2f

Please sign in to comment.