From a36141a88973102ae26564719c0eb0edb2e22fb3 Mon Sep 17 00:00:00 2001 From: Philipp Rudiger Date: Tue, 25 Jul 2023 15:29:58 +0200 Subject: [PATCH] Fix axis labels when dims not defined --- 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 ccfb4ce873..54661f0364 100644 --- a/holoviews/plotting/bokeh/element.py +++ b/holoviews/plotting/bokeh/element.py @@ -442,7 +442,7 @@ def _axis_props(self, plots, subplots, element, ranges, pos, *, dim=None, if dim: axis_label = str(dim) else: - xlabel, ylabel, zlabel = self._get_axis_labels(dims) + xlabel, ylabel, zlabel = self._get_axis_labels(dims if dims else (None, None)) if self.invert_axes: xlabel, ylabel = ylabel, xlabel axis_label = ylabel if pos else xlabel