Skip to content

dm.event() is broken #3564

@basnijholt

Description

@basnijholt

Run in one cell

def plot_generator():
    while True:
        yield hv.Curve(np.random.rand(10))

dm = hv.DynamicMap(plot_generator(),
                   streams=[hv.streams.Stream.define('Next')()])
dm

then dm.event() has no effect and nothing appears in the JS console.

For now calling hv.streams.Stream.trigger(dm.streams) works.

Related: python-adaptive/adaptive#166

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't correct or isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions