Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed handling of constant dimensions in xarray #817

merged 1 commit into from Aug 17, 2016


Copy link

@philippjfr philippjfr commented Aug 17, 2016

This PR fixes handling of constant dimensions in the xarray interface of HoloViews. By default a select operation does not reduce the dimensionality of a HoloViews object, i.e. the dimensionality stays unchanged. Until we have proper support for constant dimensions this is probably the right approach, however xarray does convert coordinates to constant coordinates, which changes the shape of the array. This PR ensures that the shape of the arrays stays unchanged.

Copy link

@jlstevens jlstevens commented Aug 17, 2016

Looks ok, but I think we need to have a proper plan regarding constant dimensions across HoloViews. Not sure when we'll find the appropriate time to address that though...



@jlstevens jlstevens merged commit 7a3ecd2 into master Aug 17, 2016
4 checks passed
@philippjfr philippjfr deleted the xarray_constant_fixes branch Sep 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants