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

event method of DynamicMap not using 'Next' but periodic is... #3615

Closed
douglasmacdonald opened this issue Apr 9, 2019 · 3 comments
Closed

Comments

@douglasmacdonald
Copy link
Contributor

There might be something wrong with the logic in the event method of DynamicMap.

https://github.com/pyviz/holoviews/blob/52548a6732881ed5c2cad1ad5b3ea2a163e092a3/holoviews/core/spaces.py#L1031

In the tutorial, http://holoviews.org/user_guide/Responding_to_Events.html, I could not get this to work for hv.version '1.12.0'

for i in range(40):
    dmap.event()

However, the periodic example did work

dmap.periodic(0.1, 1000, timeout=3)

I had a snoop around the code and, when I tried the loop like this it worked

for i in range(40):
    #dmap.event
    hv.streams.Stream.trigger(dmap.streams) # I got this line from periodic call.
@douglasmacdonald
Copy link
Contributor Author

This is probably a duplicate of

#3564

Will copy over.

@douglasmacdonald
Copy link
Contributor Author

Duplicate

#3564

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 24, 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

1 participant