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

Adding tools to an Overlay has no effect #6240

Open
maximlt opened this issue May 21, 2024 · 0 comments
Open

Adding tools to an Overlay has no effect #6240

maximlt opened this issue May 21, 2024 · 0 comments
Labels
type: bug Something isn't correct or isn't working

Comments

@maximlt
Copy link
Member

maximlt commented May 21, 2024

Adding tools to an Overlay via opts has no effect.

import holoviews as hv
hv.extension('bokeh')

overlay = hv.Curve([-1, -2, -3]) * hv.Curve([1, 2, 3])
overlay.opts(tools=['zoom_in'])
image

To add tools to an Overlay, you need to add them to the elements it contains, one seems to be enough:

image

(Observed in #6190)

@maximlt maximlt added the type: bug Something isn't correct or isn't working label May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't correct or isn't working
Projects
None yet
Development

No branches or pull requests

1 participant