In Holoview opts I added:
align=‘centre’
Now I’m getting:
holoviews.core.options.AbbreviatedException: AttributeError: ‘str’ object has no attribute ‘dataspecs’
Complete logs:
2021-06-10 11:58:00 - Main - ERROR - can't pickle traceback objects
concurrent.futures.process._RemoteTraceback:
"""
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/holoviews/plotting/bokeh/element.py", line 1287, in _init_glyphs
self._update_glyph(renderer, properties, mapping, glyph, source, source.data)
File "/usr/local/lib/python3.7/site-packages/holoviews/plotting/bokeh/element.py", line 1183, in _update_glyph
dataspecs = glyph.dataspecs()
AttributeError: 'str' object has no attribute 'dataspecs'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib64/python3.7/concurrent/futures/process.py", line 239, in _process_worker
r = call_item.fn(*call_item.args, **call_item.kwargs)
File "/mnt/tmp/generate_intersection_performance_heatmap_v1.py", line 344, in create_intersection_metric_plot
plot = get_heat_map(df_unique, None, title, maxIntersections, agg_present)
File "/mnt/tmp/generate_intersection_performance_heatmap_v1.py", line 286, in get_heat_map
plot = renderer.get_plot(holomap).state
File "/usr/local/lib/python3.7/site-packages/holoviews/plotting/bokeh/renderer.py", line 73, in get_plot
plot = super(BokehRenderer, self_or_cls).get_plot(obj, doc, renderer, **kwargs)
File "/usr/local/lib/python3.7/site-packages/holoviews/plotting/renderer.py", line 232, in get_plot
plot.update(init_key)
File "/usr/local/lib/python3.7/site-packages/holoviews/plotting/plot.py", line 878, in update
return self.initialize_plot()
File "/usr/local/lib/python3.7/site-packages/holoviews/plotting/bokeh/element.py", line 2175, in initialize_plot
child = subplot.initialize_plot(ranges, plot, plots)
File "/usr/local/lib/python3.7/site-packages/holoviews/plotting/bokeh/element.py", line 1317, in initialize_plot
self._init_glyphs(plot, element, ranges, source)
File "/usr/local/lib/python3.7/site-packages/holoviews/plotting/bokeh/element.py", line 1287, in _init_glyphs
self._update_glyph(renderer, properties, mapping, glyph, source, source.data)
File "/usr/local/lib/python3.7/site-packages/holoviews/core/options.py", line 227, in __exit__
raise AbbreviatedException(etype, value, traceback)
holoviews.core.options.AbbreviatedException: AttributeError: 'str' object has no attribute 'dataspecs'
To view the original traceback, catch this exception and call print_traceback() method.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib64/python3.7/concurrent/futures/process.py", line 205, in _sendback_result
exception=exception))
File "/usr/lib64/python3.7/multiprocessing/queues.py", line 358, in put
obj = _ForkingPickler.dumps(obj)
File "/usr/lib64/python3.7/multiprocessing/reduction.py", line 51, in dumps
cls(buf, protocol).dump(obj)
TypeError: can't pickle traceback objects
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/tmp/generate_intersection_metric_plots_v5.py", line 173, in <module>
data = future.result()
File "/usr/lib64/python3.7/concurrent/futures/_base.py", line 428, in result
return self.__get_result()
File "/usr/lib64/python3.7/concurrent/futures/_base.py", line 384, in __get_result
raise self._exception
TypeError: can't pickle traceback objects