Skip to content

Commit

Permalink
Fixed inverted Image.dimension_values
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Mar 14, 2016
1 parent 0ffcbf2 commit 17afc6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion holoviews/element/raster.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 17afc6d

Please sign in to comment.