Skip to content

Commit

Permalink
Clean code.
Browse files Browse the repository at this point in the history
  • Loading branch information
zhongl committed Sep 9, 2024
1 parent 766f3b2 commit d13b6b4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/plotly/SharedAxis.scala
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,4 @@ object SharedAxis:
def share(a: Intervals): PartialPlotDataAutobinx => PartialPlotDataAutobinx =
val (_, r) = a.foldLeft(0.0 -> List.empty[Meter]):
case ((s, t), i) => (i.distance + s) -> (i.distance + s :: t)
println(r.reverse)
_.setX(r.reverse.toJSArray)

0 comments on commit d13b6b4

Please sign in to comment.