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

holoviews.util.Dynamic doesn't work without import #1134

Closed
basnijholt opened this issue Feb 13, 2017 · 5 comments
Closed

holoviews.util.Dynamic doesn't work without import #1134

basnijholt opened this issue Feb 13, 2017 · 5 comments
Milestone

Comments

@basnijholt
Copy link
Contributor

basnijholt commented Feb 13, 2017

holoviews.util.Dynamic(hv.HoloMap({i: hv.Image(np.random.rand(10,10)) for i in range(10)}))

only works after

import holoviews.util

@jlstevens
Copy link
Contributor

I noticed a similar import problem recently whereby util wasn't the union of core.util and the top level util. It is an annoying issue so I'll assign it to the 1.7 milestone.

@jlstevens jlstevens added this to the v1.7.0 milestone Feb 13, 2017
@philippjfr
Copy link
Member

I noticed a similar import problem recently whereby util wasn't the union of core.util and the top level util.

Isn't that exactly the issue described here?

@jlstevens
Copy link
Contributor

I think so, yes.

@basnijholt
Copy link
Contributor Author

@jlstevens and @philippjfr

I am on master now:

import holoviews as hv
hv.__version__
Version((1, 6, 2),'/opt/conda/lib/python3.5/site-packages/holoviews/__init__.py','c80f986')

And now hv.util.Dynamic is completely gone. Importing holoviews.util doesn't help.

Only from holoviews.util import Dynamic works.

@philippjfr
Copy link
Member

Thanks @basnijholt, just double checked and I can reproduce it. I'm very confused now, but will look into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants