Add Custom Marker Symbols for Scatter Trace
Personne n'a encore pris cette issue.
- Langage dominant
- Python
- Étoiles
- 18.8k
- Forks
- 2.8k
- Merge moyen
- 16 h 26 min
- PR mergées (30 j)
- 21
Description
Hi all, really liking this framework so far. One feature that would be great to have would be the ability to add custom marker symbols to the scatter trace. It looks like I'm not the first person to be in need of this: https://community.plotly.com/t/i-want-to-use-custom-icon-for-the-scatter-markers-how-to-do-it/6644
I'm currently trying to overlay 2 of the existing symbols on top of one another to get a square with the 'Y' symbol inside. I can achieve this within the plot window easily enough by using two separate scatter traces, one with each symbol. Unfortunately there doesn't seem to be a way to make this look right in the legend. If I could instead use a single trace that would solve the legend issue, either by stacking shapes or more generally accessing the SVG syntax that's already used behind the scenes to render these symbols.
Any thoughts on whether this is feasible?
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Piste de recherche
Aucun fichier ni test n’est nommé. Commencez par suivre la façon dont les symboles de marqueurs de dispersion et les entrées de légende sont représentés, en vous concentrant sur la possibilité pour les symboles existants basés sur SVG de prendre en charge un symbole composé ou personnalisé dans un seul trace. Le travail est terminé lorsqu’un marqueur personnalisé est rendu correctement et que l’entrée de légende correspondante pour un seul trace lui correspond.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- python
- Domaine
- data-visualization
- Type d'issue
- Fonctionnalité
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 25/100