Error on hover event of parallel coordinates graph component
Nobody has claimed this yet.
- 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
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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