pydata_dc_2018 icon indicating copy to clipboard operation
pydata_dc_2018 copied to clipboard

Type Error

Open daxsoule opened this issue 6 years ago • 0 comments

When I execute p = bird_ds.to(hv.Points).opts(opts.Points(height=500, width=700)) p It throws an error "TypeError: unhashable type: 'dict'"

I think I must be missing an environmental variable... but thus my trouble shooting has not resulted in a better result.


TypeError Traceback (most recent call last) in () ----> 1 p=bird_ds.to(hv.Points).opts(opts.Points(height=500, width=700)) 2 p

/opt/conda/lib/python3.6/site-packages/holoviews/core/dimension.py in opts(self, options, backend, clone, **kwargs) 1386 elif clone: 1387 obj = self.map(lambda x: x.clone(id=x.id)) -> 1388 StoreOptions.set_options(obj, options, backend=backend, **kwargs) 1389 return obj 1390

/opt/conda/lib/python3.6/site-packages/holoviews/core/options.py in set_options(cls, obj, options, backend, **kwargs) 1721 # {'Image.Channel:{'plot': Options(size=50), 1722 # 'style': Options('style', cmap='Blues')]} -> 1723 options = cls.merge_options(Store.options(backend=backend).groups.keys(), options, **kwargs) 1724 spec, compositor_applied = cls.expand_compositor_keys(options) 1725 custom_trees, id_mapping = cls.create_custom_trees(obj, spec)

/opt/conda/lib/python3.6/site-packages/holoviews/core/options.py in merge_options(cls, groups, options, **kwargs) 1579 if (options is not None and set(options.keys()) <= groups): 1580 kwargs, options = options, None -> 1581 elif (options is not None and any(k in groups for k in options)): 1582 raise Exception("All keys must be a subset of %s" 1583 % ', '.join(groups))

/opt/conda/lib/python3.6/site-packages/holoviews/core/options.py in (.0) 1579 if (options is not None and set(options.keys()) <= groups): 1580 kwargs, options = options, None -> 1581 elif (options is not None and any(k in groups for k in options)): 1582 raise Exception("All keys must be a subset of %s" 1583 % ', '.join(groups))

TypeError: unhashable type: 'dict'

daxsoule avatar Jun 03 '19 21:06 daxsoule