Legend group title are shifted to the right when written in LaTeX
Open
Nobody has claimed this yet.
bug
P3
- Dominant language
- Python
- Stars
- 18.8k
- Forks
- 2.8k
- Avg merge
- 16h 26m
- Merged PRs (30d)
- 21
Description
Hi,
When using legend groups, if the title text is written in LaTeX, it is shifted to the right. However, I would expect that having a title text in latex should not change its alignment.
To reproduce, please have a look at this PyCafe example. I confirm this problem exists outside of dash.
I am using plotly 6.0.1.
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 with the linked PyCafe reproduction and compare legend-group titles rendered as plain text versus LaTeX in Plotly 6.0.1. Trace the legend-group title rendering entry point and verify that LaTeX does not change the title's horizontal alignment; done when both forms align consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- latex, python
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100