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

Dropdown menu not working in exported html when overlay includes arrows #3861

Closed
faymanns opened this issue Jul 29, 2019 · 3 comments · Fixed by #4313
Closed

Dropdown menu not working in exported html when overlay includes arrows #3861

faymanns opened this issue Jul 29, 2019 · 3 comments · Fixed by #4313
Labels
type: bug Something isn't correct or isn't working
Milestone

Comments

@faymanns
Copy link

Overlaying arrows for annotation on a plot with a dropdown menu seems to break the functionality of the dropdown menu in exported html files rendered with bokeh.

An example that can reproduce this issue is the Dropdown Economics example in the documentation. The dropdown menu on the website is not working and it can be reproduced using the following two lines to save the plot as html:

renderer = hv.renderer('bokeh')
renderer.save((gdp_curves * gdp_unem_scatter * annotations), 'plot')

The drop down menu does work when the annotations (arrows) are not included.

Furthermore, this doesn't seem to be an issue in previous releases.
The exact same code produces a html with working dropdown menu and arrows in version 1.10.5 but not versions 1.11.3 and 1.12.3.

@philippjfr philippjfr added the type: bug Something isn't correct or isn't working label Jul 29, 2019
@mc51
Copy link

mc51 commented Sep 14, 2019

I can confirm this with the following env.
When removing the annotations overlay it works.

@philippjfr
Copy link
Member

Thanks for looking into that, the error in JS is:

Uncaught Error: event model wasn't known

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
type: bug Something isn't correct or isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants