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

HoloMap missing a slider #971

Closed
jlstevens opened this issue Nov 4, 2016 · 3 comments
Closed

HoloMap missing a slider #971

jlstevens opened this issue Nov 4, 2016 · 3 comments
Milestone

Comments

@jlstevens
Copy link
Contributor

jlstevens commented Nov 4, 2016

The keys are not orthogonal in this example, but there should still be two sliders:

image

Here is the code as text:

import numpy as np
import holoviews as hv
hv.notebook_extension()
hv.HoloMap({k:hv.Image(np.random.rand(10,10)) for k in [(10, 1.2), (20, 1.3), (30, 1.4)]}, 
           kdims=['a','b'])

Just to be sure, I checked orthogonal keys work fine, so there is no problem with this for instance:

hv.HoloMap({(k1,k2):hv.Image(np.random.rand(10,10)) 
                for k1 in range(10) for k2 in range(5)}, kdims=['a','b'])
@jlstevens jlstevens added this to the v1.7.0 milestone Nov 4, 2016
@philippjfr
Copy link
Member

philippjfr commented Nov 4, 2016

This seems to be because the hierarchical dimensional handling in the widget code being broken. I'll see if it can be fixed easily otherwise I suggest we scrap it until we have a better solution.

@philippjfr
Copy link
Member

This was fixed in #973. Closing.

Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants