diff --git a/dynamo/plot/utils.py b/dynamo/plot/utils.py index 802c982ed..df2a341d6 100755 --- a/dynamo/plot/utils.py +++ b/dynamo/plot/utils.py @@ -321,17 +321,17 @@ def _to_hex(arr): """ -@numba.vectorize(["uint8(uint32)", "uint8(uint32)"]) +@numba.vectorize(["uint8(uint32)"]) def _red(x): return (x & 0xFF0000) >> 16 -@numba.vectorize(["uint8(uint32)", "uint8(uint32)"]) +@numba.vectorize(["uint8(uint32)"]) def _green(x): return (x & 0x00FF00) >> 8 -@numba.vectorize(["uint8(uint32)", "uint8(uint32)"]) +@numba.vectorize(["uint8(uint32)"]) def _blue(x): return x & 0x0000FF