Skip to content

Commit

Permalink
fixing error in density plot, need to work on labels and better color…
Browse files Browse the repository at this point in the history
…s for the two distributions
  • Loading branch information
Jakidxav committed Aug 21, 2024
1 parent 56f76b4 commit 1a9b4e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/sidebar/charts/density-plot.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,14 +127,14 @@ const DensityPlot = ({ data, variable, time, year, monthDay, minDate, colormap }
{plotPreviousData && (
<>
{/* <Area
data={plotData2}
data={plotPreviousData}
width={1.5}
opacity={0.3}
color={'gray'}
curve={d3.curveMonotoneX} // d3.curveBumpX is another good option
/> */}
<Line
data={plotData2}
data={plotPreviousData}
width={1.5}
color={'gray'}
curve={d3.curveMonotoneX}
Expand Down

0 comments on commit 1a9b4e0

Please sign in to comment.