From 85fc8deb7acc3eb20acb1b0a8061f584ca76196b Mon Sep 17 00:00:00 2001 From: Philipp Rudiger Date: Tue, 15 Jan 2019 12:43:42 +0000 Subject: [PATCH] Process colorbar option on CompositePlots --- holoviews/plotting/bokeh/element.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/holoviews/plotting/bokeh/element.py b/holoviews/plotting/bokeh/element.py index d7c58035bf..83ba6aa752 100644 --- a/holoviews/plotting/bokeh/element.py +++ b/holoviews/plotting/bokeh/element.py @@ -1231,6 +1231,11 @@ def _init_glyphs(self, plot, element, ranges, source, data=None, mapping=None, s with abbreviated_exception(): self._update_glyph(renderer, properties, mapping.get(key, {}), glyph, source, source.data) + if self.colorbar: + for k, v in list(self.handles.items()): + if not k.endswith('color_mapper'): + continue + self._draw_colorbar(plot, v, k[:-12]) def _process_properties(self, key, properties, mapping):