Skip to content
Permalink
Browse files

Fixed batched plotting for bokeh PathPlot

  • Loading branch information...
philippjfr committed Jul 11, 2016
1 parent b87dbbf commit 80df910aa0ab57f29d0728b30a68c93b7530215b
Showing with 5 additions and 8 deletions.
  1. +5 −8 holoviews/plotting/bokeh/path.py
@@ -35,14 +35,11 @@ def get_batched_data(self, element, ranges=None, empty=False):
data[k].extend(eld)
zorder = self.get_zorder(element, key, el)
val = style[zorder].get('color')
elmapping['color'] = 'color'
if isinstance(val, tuple):
val = rgb2hex(val)
data['color'] += [val for _ in range(len(eldata['xs']))]
if len(set(data.get('color'))) == 1:
data.pop('color')
elmapping.pop('color')

if val:
elmapping['line_color'] = 'color'
if isinstance(val, tuple):
val = rgb2hex(val)
data['color'] += [val for _ in range(len(eldata.values()[0]))]
return data, elmapping


0 comments on commit 80df910

Please sign in to comment.
You can’t perform that action at this time.