Pasted below is what I get in my notebook when I run the second cell.
It seems to be because of the call to
hv.opts(hv.opts.Rectangles(alpha = 0.5))
I commented out this line and committed
Traceback (most recent call last):
File "/home/kkappler/anaconda2/envs/tsvi/lib/python3.9/site-packages/IPython/core/interactiveshell.py", line 3398, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "/tmp/ipykernel_24556/3055941099.py", line 10, in <cell line: 10>
hv.opts(hv.opts.Rectangles(alpha = 0.5))
File "/home/kkappler/anaconda2/envs/tsvi/lib/python3.9/site-packages/param/parameterized.py", line 3654, in new
return inst.call(*args,**params)
File "/home/kkappler/anaconda2/envs/tsvi/lib/python3.9/site-packages/holoviews/util/init.py", line 110, in call
self._linemagic(args[0])
File "/home/kkappler/anaconda2/envs/tsvi/lib/python3.9/site-packages/holoviews/util/init.py", line 277, in _linemagic
options, failure = cls._process_magic(options, strict, backends=backends)
File "/home/kkappler/anaconda2/envs/tsvi/lib/python3.9/site-packages/holoviews/util/init.py", line 255, in _process_magic
errmsg = StoreOptions.validation_error_message(options, backends=backends)
File "/home/kkappler/anaconda2/envs/tsvi/lib/python3.9/site-packages/holoviews/core/options.py", line 1597, in validation_error_message
cls.validate_spec(spec, backends=backends)
File "/home/kkappler/anaconda2/envs/tsvi/lib/python3.9/site-packages/holoviews/core/options.py", line 1571, in validate_spec
cls.apply_customizations(spec, options)
File "/home/kkappler/anaconda2/envs/tsvi/lib/python3.9/site-packages/holoviews/core/options.py", line 1546, in apply_customizations
customization = {k:v.keywords_target(key.split('.')[0])
File "/home/kkappler/anaconda2/envs/tsvi/lib/python3.9/site-packages/holoviews/core/options.py", line 1546, in
customization = {k:v.keywords_target(key.split('.')[0])
AttributeError: 'float' object has no attribute 'keywords_target'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/kkappler/anaconda2/envs/tsvi/lib/python3.9/site-packages/IPython/core/interactiveshell.py", line 1993, in showtraceback stb = self.InteractiveTB.structured_traceback(
File "/home/kkappler/anaconda2/envs/tsvi/lib/python3.9/site-packages/IPython/core/ultratb.py", line 1118, in structured_traceback
return FormattedTB.structured_traceback(
File "/home/kkappler/anaconda2/envs/tsvi/lib/python3.9/site-packages/IPython/core/ultratb.py", line 1012, in structured_traceback
return VerboseTB.structured_traceback(
File "/home/kkappler/anaconda2/envs/tsvi/lib/python3.9/site-packages/IPython/core/ultratb.py", line 865, in structured_traceback
formatted_exception = self.format_exception_as_a_whole(etype, evalue, etb, number_of_lines_of_context,
File "/home/kkappler/anaconda2/envs/tsvi/lib/python3.9/site-packages/IPython/core/ultratb.py", line 818, in format_exception_as_a_whole
frames.append(self.format_record(r))
File "/home/kkappler/anaconda2/envs/tsvi/lib/python3.9/site-packages/IPython/core/ultratb.py", line 736, in format_record
result += ''.join(_format_traceback_lines(frame_info.lines, Colors, self.has_colors, lvals))
File "/home/kkappler/anaconda2/envs/tsvi/lib/python3.9/site-packages/stack_data/utils.py", line 145, in cached_property_wrapper
value = obj.dict[self.func.name] = self.func(obj)
File "/home/kkappler/anaconda2/envs/tsvi/lib/python3.9/site-packages/stack_data/core.py", line 698, in lines
pieces = self.included_pieces
File "/home/kkappler/anaconda2/envs/tsvi/lib/python3.9/site-packages/stack_data/utils.py", line 145, in cached_property_wrapper
value = obj.dict[self.func.name] = self.func(obj)
File "/home/kkappler/anaconda2/envs/tsvi/lib/python3.9/site-packages/stack_data/core.py", line 645, in included_pieces
scope_pieces = self.scope_pieces
File "/home/kkappler/anaconda2/envs/tsvi/lib/python3.9/site-packages/stack_data/utils.py", line 145, in cached_property_wrapper
value = obj.dict[self.func.name] = self.func(obj)
File "/home/kkappler/anaconda2/envs/tsvi/lib/python3.9/site-packages/stack_data/core.py", line 585, in scope_pieces
for piece in self.source.pieces
File "/home/kkappler/anaconda2/envs/tsvi/lib/python3.9/site-packages/stack_data/utils.py", line 145, in cached_property_wrapper
value = obj.dict[self.func.name] = self.func(obj)
File "/home/kkappler/anaconda2/envs/tsvi/lib/python3.9/site-packages/stack_data/core.py", line 90, in pieces
return list(self._clean_pieces())
File "/home/kkappler/anaconda2/envs/tsvi/lib/python3.9/site-packages/stack_data/core.py", line 114, in _clean_pieces
raise AssertionError("Pieces mismatches: %s" % mismatches)
AssertionError: Pieces mismatches: [{680, 681}, {696, 695}, {708, 709}, {714, 715}]
Pasted below is what I get in my notebook when I run the second cell.
It seems to be because of the call to
hv.opts(hv.opts.Rectangles(alpha = 0.5))
I commented out this line and committed