Unable to hover in selection areas
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Python
- Sterne
- 18.8k
- Forks
- 2.8k
- Ø Merge
- 16 Std. 26 Min.
- Gemergte PRs (30 T.)
- 21
Beschreibung
Environment: Windows, plotly 6.0.0
Minimum Example:
import plotly.express as px
df = px.data.gapminder().query("continent=='Oceania'")
fig = px.line(df, x="year", y="lifeExp", color="country", title="layout.hovermode='closest' (the default)")
fig.update_traces(mode="markers+lines")
fig.show()
Behavior:
When using selection tools in Plotly (e.g. box select, lasso select), it's not possible to hover over data points inside the selection area. The cursor changes to a "move" cursor and only allows repositioning the selection. Outside the selection area, hovering works normally.
Image 1: Inside the box selection, only the move cursor is visible and hovering is not possible
Image 2: Outside the selection area, hovering works correctly and displays data point information
Suggestion:
A potential improvement would be limiting the move cursor functionality to only the edges of the selection area, allowing users to continue hovering over data points inside the selection.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Führen Sie das bereitgestellte Python-Mindestbeispiel mit Plotly 6.0.0 unter Windows aus und reproduzieren Sie die Interaktion mit Box- und Lasso-Auswahl. Verfolgen Sie das Auswahl- und Hover-Verhalten bei der Anzeige der Abbildung des Beispiels, und überprüfen Sie anschließend, dass Punkte innerhalb einer Auswahl Hover-Informationen anzeigen können, während die Bewegung der Auswahl an der Auswahlgrenze weiterhin möglich bleibt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- data-visualization, frontend
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100