diff --git a/holoviews/plotting/bokeh/path.py b/holoviews/plotting/bokeh/path.py index 7043db4145..eedc5566fa 100644 --- a/holoviews/plotting/bokeh/path.py +++ b/holoviews/plotting/bokeh/path.py @@ -40,7 +40,7 @@ def get_batched_data(self, element, ranges=None, empty=False): elmapping['line_color'] = 'color' if isinstance(val, tuple): val = rgb2hex(val) - data['color'] += [val for _ in range(len(eldata.values()[0]))] + data['color'] += [val for _ in range(len(list(eldata.values())[0]))] return data, elmapping