-
-
Notifications
You must be signed in to change notification settings - Fork 404
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
DynamicMap #278
DynamicMap #278
Conversation
Open mode can be used quickly and easily with inline generators whereas 'closed' interval mode requires ranges on all the key dimensions.
Open mode can be used quickly and easily with inline generators whereas 'closed' interval mode requires ranges on all the key dimensions.
Iter causes unexpected behaviour in many places because HoloViews generally expects to be able to iterate over Elements in a HoloMap type.
I've been working through the proposal above and making good progress. One quick bug report for Dimensions though: kdims=[hv.Dimension('size', range=(1,5), type=float) This results in a slider that snaps to integers despite the explicit type declaration saying otherwise. |
Ok, I've gone and rewritten I am quite happy with it! Not having the specify the mode explicitly is very nice, making As it is working with an improved API, I am happy to see it merged whenever you like. There are a few outstanding issues, most of them are minor: Bug fixes
To implement
These are all small jobs that I am happy to see implemented on master. |
Okay I've fixed all the bugs you mentioned and have got the tests passing. The other two items are features and can be implemented on master (or as separate PRs). I'll go ahead and merge. |
Ok great! We may still want to use this PR to decide how we want caching on the client-side to work... |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
This PR adds the new
DynamicMap
class, which allows generating frames on the fly when working with widgets. TheDynamicMap
has two operating modes or intervals:next
is called. This mode allows for streaming data for example from a simulator.SelectionWidget
the user may then select any value in the space defined by the Dimensions, allowing much larger parameter spaces with near continuous sampling to be explored.Both modes already work but there are a few to-do items left:
Currently nothing communicates a StopIteration to javascript so the scrubber will continue running and expand the slider even when the DynamicMap has run out of new frames.