plotly / plotly/dash

Error on hover event of parallel coordinates graph component

Open
#3,128 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug P2
Dominant language
Python
Stars
24.4k
Forks
2.3k
Avg merge
2d 7h
Merged PRs (30d)
13

Description

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!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the hover error in the parallel coordinates graph component with the listed Dash dependencies, Ubuntu server, and Edge frontend. Read the linked archived dcc issue for the proposed fixes and compare the current behavior. Done means hovering a plotted line no longer produces an uncaught TypeError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-visualization, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.