Skip to content

Adding tools to an Overlay has no effect #6240

@maximlt

Description

@maximlt

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)

Metadata

Metadata

Assignees

Labels

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

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions