This commit is contained in:
Maxime Beauchemin 2016-01-23 07:16:45 -08:00
parent b472cad5d1
commit 012a651586
2 changed files with 1 additions and 7 deletions

View File

@ -131,12 +131,6 @@ class ColorFactory(object):
self.hash_based = hash_based
def get(self, s):
"""
Get a consistent color from the same string using a hash function
>>> color("foo")
'#FF5A5F'
"""
if self.hash_based:
s = s.encode('utf-8')
h = hashlib.md5(s)

View File

@ -1,6 +1,6 @@
from setuptools import setup, find_packages
version = '0.6.1'
version = '0.7.0'
setup(
name='panoramix',