Merge pull request #1969 from pijyoi/fix_clip_nop

This commit is contained in:
Ogi Moore 2021-08-17 07:29:10 -07:00 committed by GitHub
commit 98d7bcf560
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -331,7 +331,7 @@ def modulatedBarData(length=768, width=32):
data = np.zeros( (length, width) )
for idx in range(width):
data[:,idx] = gradient + (idx/(width-1)) * modulation
clip_array(data, 0.0, 1.0)
clip_array(data, 0.0, 1.0, out=data)
return data
class ColorMap(object):