Fixed python3 'lod' bug
@@ -364,7 +364,7 @@ class ElementPlot(BokehPlot, GenericElementPlot):
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
