diff --git a/colorhash/colorizer.py b/colorhash/colorizer.py deleted file mode 100644 index 94f6413..0000000 --- a/colorhash/colorizer.py +++ /dev/null @@ -1,13 +0,0 @@ -"All things that turn a numeric matrix into a colored matrix." -from typing import Sequence - -from .color import Color -from .matricizer import Matrix -from .palettes import Palette - - -ColorMatrix = Sequence[Sequence[Color]] - - -def colorize(palette: Palette, matrix: Matrix) -> ColorMatrix: - return [[palette[v] for v in row] for row in matrix] diff --git a/examples/commithash.svg b/examples/commithash.svg index 4abdc34..2ea0503 100644 --- a/examples/commithash.svg +++ b/examples/commithash.svg @@ -1,42 +1,42 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file