Inconsistent behavior when providing an array of marker sizes in "markers" mode on scatter3D
Nessuno ha ancora preso questa issue.
- Lingua principale
- JavaScript
- Stelle
- 18.3k
- Fork
- 2k
- Merge medio
- 2g 12h
- PR unite (30g)
- 28
Descrizione
When an array of marker sizes is provided in "markers" mode in scatter3D, the displayed size of the markers is half the size displayed when a single value is provided instead of an array. For example, if there are two points on a trace and "[20, 20]" is provided, the displayed markers are displayed at exactly the same size as if only "10" were provided.
Additionally, when you provide an array with fewer elements than points the trace have (for example, a trace with 3 points that is given the array "[20, 20]"), the remaining point markers are sized by default to 10. Maybe that's the expected behavior, but in other charts like scatter2D or scatterpolar the remaining points become hidden (size 0), so I thought it was worth mentioning that too.
Codepen: https://codepen.io/neosdkov/pen/abMrpRo
(not related but thank you all for your great work! I've been using plotly for a few months now and it's just amazing!)
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Riproduci i casi di dimensionamento dei marker di scatter3D dal CodePen collegato: confronta una dimensione scalare con un array di dimensioni dello stesso valore, quindi prova un array più corto del numero di punti. Segui l’entry point dei marker di scatter3D e verifica che i valori dell’array corrispondano al dimensionamento scalare e che il comportamento dell’array corto sia intenzionale e coerente con l’aspettativa riportata.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript
- Ambito
- data-visualization
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 38/100