dash icon indicating copy to clipboard operation
dash copied to clipboard

Error on hover event of parallel coordinates graph component

Open nplinden opened this issue 1 year ago • 0 comments

Hi all, I've been getting the following errors when hovering on a parallel coordinates in a plotly dash app

Image

This seems to be related to this unresolved issue https://github.com/plotly/dash-core-components/issues/157 from the dcc archived repo. The answers to this issue outline the fixes necessary, but I can't seem to find if these fixes were ever implemented.

Context

I'm plotting a parallel coordinates graph in a dash app using plotly. I run on an Ubuntu 20.04 machine as a server and MS Edge 131 on Windows 11 as front.

Here is the dependencies field from my pyproject.yml file:

dependencies = [
    "dash>=2.18.2",
    "dash-bootstrap-components>=1.6.0",
    "flask-assets>=2.1.0",
    "flask>=3.0.3",
    "loguru>=0.7.3",
    "numpy>=2.2.1",
    "pandas>=2.2.3",
]

Describe the bug

Hovering over line of a parallel coordinates plot causes a "Uncaught TypeError: Cannot read properties of undefined" error.

Cheers!

nplinden avatar Jan 22 '25 09:01 nplinden