diff --git a/holoviews/plotting/bokeh/element.py b/holoviews/plotting/bokeh/element.py index f3f36165c1..5effc62dcf 100644 --- a/holoviews/plotting/bokeh/element.py +++ b/holoviews/plotting/bokeh/element.py @@ -98,6 +98,9 @@ class ElementPlot(BokehPlot, GenericElementPlot): * timeout - Timeout (in ms) for checking whether interactive tool events are still occurring.""") + show_frame = param.Boolean(default=True, doc=""" + Whether or not to show a complete frame around the plot.""") + show_grid = param.Boolean(default=True, doc=""" Whether to show a Cartesian grid on the plot.""") @@ -342,6 +345,9 @@ def _init_plot(self, key, element, plots, ranges=None): properties['x_axis_label'] = xlabel if 'x' in self.labelled else ' ' properties['y_axis_label'] = ylabel if 'y' in self.labelled else ' ' + if not self.show_frame: + properties['outline_line_alpha'] = 0 + if self.show_title: title = self._format_title(key, separator=' ') else: