Density Plot Library | Twitter Inc. | Observable
•ojs
•ojs
•ojs
•ojs
•ojs
•ojs
•ojs
•ojs
•ojs
•ojs
•ojs
•ojs
•ojs
•ojs
•ojs
•ojs
•ojs
•ojs
Comments (2)
Paul Murray
Jan 26, 2021
Looks like you might be calling `axisLeft` with the wrong axis: ``` d3.axisLeft( yAxisScale ? xAxisScale.copy().range([height, 0]) : d3.scaleLinear(dense.yDomain(), [height, 0]) ) ```
Yuri Vishnevsky
Jan 26, 2021
Doh. I have tests for the core density computation but not densityPlot. Thank you for the fix!
Reply
Add comment
Subscribe to notifications
Observable
Sign in
Twitter Inc.
Yuri Vishnevsky
13
Reply
Add comment
Subscribe to notifications
9
Density Plot Library | Twitter Inc. | Observable