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

No hover data on Segments #4315

Closed
Skealz opened this issue Mar 23, 2020 · 1 comment · Fixed by #4318
Closed

No hover data on Segments #4315

Skealz opened this issue Mar 23, 2020 · 1 comment · Fixed by #4318
Labels
tag: backend: bokeh type: bug Something isn't correct or isn't working

Comments

@Skealz
Copy link

Skealz commented Mar 23, 2020

Bug report on hover of Segments element

Software version info

python 3.7.4
holoviews 1.13.0
bokeh 2.0.0

Description of expected behavior and the observed behavior

When hovering Segments elements, the shown hover tooltip should contain data.
Instead, "???" are shown for every field.

Complete, minimal, self-contained example code that reproduces the issue
This is the code from http://build.holoviews.org/reference/elements/bokeh/Segments.html with just tools=["hover"] added.

import numpy as np
import holoviews as hv
from holoviews import dim
hv.extension('bokeh')

event = ['A', 'B']
data = dict(
    start=[np.datetime64('1999'), np.datetime64('2001')],
    end=[np.datetime64('2010'), np.datetime64('2020')],
    start_event = event,
    end_event = event
)

seg = hv.Segments(data, [hv.Dimension('start', label='Year'), 
                         hv.Dimension('start_event', label='Event'), 'end', 'end_event']).opts(tools=["hover"])

Screenshots or screencasts of the bug in action
bugq

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 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
tag: backend: bokeh type: bug Something isn't correct or isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants