Skip to content

Regression in legend and plot interaction behaviour #14442

@febkor

Description

@febkor

Software versions

Python version : 3.11.10 (main, Oct 16 2024, 04:38:48) [Clang 18.1.8 ]
Tornado version : 6.4.2
NumPy version : 1.26.0
Bokeh version : 3.7.0
BokehJS static path : .venv/lib/python3.11/site-packages/bokeh/server/static
node.js version : v20.16.0
npm version : 10.8.1
Operating system : Linux-6.8.0-52-generic-x86_64-with-glibc2.35

Browser name and version

Google Chrome 128.0.6613.114 (Official Build) (64-bit)

Expected behavior

Thank you for this great library.

There appears to be a regression in legend behavior in 3.7 from version 3.6.
The behavior in 3.6 matches expectations.

Observed behavior

How to reproduce:

Behavioral differences:

  • hover
    • 3.6.3: hover shows a mouse pointer over legend label and marker
    • 3.7.2: hover shows a text selection cursor over legend label and mouse pointer over marker
  • interaction
    • 3.6.3: clicking to hide greys out the label and marker and hides line
    • 3.7.2: clicking to hide leaves label and marker unchanged and hides line (see screenshot)
  • selection
    • 3.6.3: clicking on plot does not select the plot
    • 3.7.2: clicking on plot seems to select the plot element (notice the blue border in the screenshot)

Screenshots

Image

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions