From e0ed723cfcdc3f670ccd956313e0cebc6967ce60 Mon Sep 17 00:00:00 2001 From: Philipp Rudiger Date: Thu, 9 Feb 2017 19:12:59 +0000 Subject: [PATCH] Fixed python3 'lod' bug --- holoviews/plotting/bokeh/element.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/holoviews/plotting/bokeh/element.py b/holoviews/plotting/bokeh/element.py index 0365ea3d4c..3503f00c1e 100644 --- a/holoviews/plotting/bokeh/element.py +++ b/holoviews/plotting/bokeh/element.py @@ -364,7 +364,7 @@ def _plot_properties(self, key, plot, element): if self.border is not None: for p in ['left', 'right', 'top', 'bottom']: plot_props['min_border_'+p] = self.border - lod = dict(self.defaults()['lod'], **self.lod) + lod = dict(self.defaults().get('lod', {}), **self.lod) for lod_prop, v in lod.items(): plot_props['lod_'+lod_prop] = v return plot_props