Removed Dimension.__hash__ which appears to be unused
@@ -291,16 +291,6 @@ class Dimension(param.Parameterized):
return title_format.format(name=bytes_to_unicode(self.label), val=value, unit=unit)
- def __hash__(self):
- """
- The hash allows two Dimension objects to be compared; if the
- hashes are equal, all the parameters of the Dimensions are
- also equal.
- """
- return sum([hash(value) for _, value in self.get_param_values()
- if not isinstance(value, list)])
-
-
def __setstate__(self, d):
"""
Compatibility for pickles before alias attribute was introduced.
