Fix: remove broken .replace() call causing TypeError in RateDensityRidgeline
Deploy to git-pages / deploy (push) Successful in 12s
Deploy to git-pages / deploy (push) Successful in 12s
This commit is contained in:
@@ -236,9 +236,6 @@ export default function RateDensityRidgeline({ quadData, rateByGroup }) {
|
|||||||
.attr('fill', colors.ink)
|
.attr('fill', colors.ink)
|
||||||
.attr('font-weight', 500))
|
.attr('font-weight', 500))
|
||||||
|
|
||||||
// Adjust y-axis label text (handle newlines)
|
|
||||||
svg.selectAll('.tick text')
|
|
||||||
.text(d => d.replace('/\n', ' '))
|
|
||||||
|
|
||||||
// Legend
|
// Legend
|
||||||
const legend = svg.append('g')
|
const legend = svg.append('g')
|
||||||
|
|||||||
Reference in New Issue
Block a user