-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Hi there! I am interested in using spectra as a colour library and was hoping that it could perform equality testing and hashing. Currently, this is the state of equality testing:
spectra.html('black') == spectra.html('black') # False
spectra.rgb(1, 0, 0) == spectra.rgb(1, 0, 0) # False
hash(spectra.rgb(1, 0, 0)) == hash(spectra.rgb(1, 0, 0)) # FalseWould you be open to a PR that implemented equality testing through the __eq__ and __hash__ methods?
Metadata
Metadata
Assignees
Labels
No labels