From a6cae95501f5dc4caf7d5e20a6586dc1339c3f91 Mon Sep 17 00:00:00 2001 From: Philipp Rudiger Date: Thu, 28 Jul 2016 17:41:21 +0100 Subject: [PATCH] Fixed small python 3 bug in bokeh PathPlot --- holoviews/plotting/bokeh/path.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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