From f0ad95f8c765c1f04ca92768e25cc9ba96854b17 Mon Sep 17 00:00:00 2001 From: Philipp Rudiger Date: Tue, 1 Oct 2019 23:22:41 +0200 Subject: [PATCH] Ensure Point/Scatter plot correctly categorizes data on inverted axes (#4014) --- holoviews/plotting/bokeh/chart.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/holoviews/plotting/bokeh/chart.py b/holoviews/plotting/bokeh/chart.py index 834ef3cf8e..3b9eb6e7c3 100644 --- a/holoviews/plotting/bokeh/chart.py +++ b/holoviews/plotting/bokeh/chart.py @@ -98,7 +98,7 @@ def get_data(self, element, ranges, style): xdim, ydim = dims[xidx], dims[yidx] data[xdim] = element.dimension_values(xidx) data[ydim] = element.dimension_values(yidx) - self._categorize_data(data, (xdim, ydim), element.dimensions()) + self._categorize_data(data, dims[:2], element.dimensions()) cdata, cmapping = self._get_color_data(element, ranges, style) data.update(cdata)