From 17afc6d882a56ae2379849bc94a3f0aa5d4b4775 Mon Sep 17 00:00:00 2001 From: Philipp Rudiger Date: Mon, 14 Mar 2016 15:34:54 +0000 Subject: [PATCH] Fixed inverted Image.dimension_values --- holoviews/element/raster.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/holoviews/element/raster.py b/holoviews/element/raster.py index a18c72a6a6..f3df282fba 100644 --- a/holoviews/element/raster.py +++ b/holoviews/element/raster.py @@ -616,7 +616,7 @@ def dimension_values(self, dim, expanded=True, flat=True): d1lin = np.linspace(l+d1_half_unit, r-d1_half_unit, dim1) d2lin = np.linspace(b+d2_half_unit, t-d2_half_unit, dim2) if expanded: - values = np.meshgrid(d2lin, d1lin)[dim_idx] + values = np.meshgrid(d1lin, d2lin)[dim_idx] return values.flatten() if flat else values else: return d2lin if dim_idx else d1lin