Scatterpolargl texttemplate displays incorrectly
Open
Nobody has claimed this yet.
bug
good for agent
P3
- Dominant language
- JavaScript
- Stars
- 18.3k
- Forks
- 2k
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 28
Description
Scatterpolargl texttemplate displays incorrectly.
var data = [{
type: "scatterpolargl",
mode: "text+lines+markers",
r: [1, 2, 3],
theta: [50, 100, 200],
marker: {symbol: "square"},
text:['1.053', '2', '3'],
textposition: 'top left',
texttemplate: "<b>%{text:$.2f}</b>",
}]
var layout = {
polar: {
domain: {
x: [0, 1],
y: [0, 1]
},
radialaxis: {
range: [1, 4]
},
angularaxis: {
thetaunit: "radians"
}
},
showlegend: false
}
Plotly.newPlot('myDiv', data, layout);
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 supplied CodePen reproduction and inspect the scatterpolargl texttemplate rendering path in plotly.js. Compare its displayed labels with the expected formatting from the example, then add or update a focused regression test and verify the reproduction behaves correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100