diff --git a/.mill-version b/.mill-version index 3eefcb9..ee90284 100644 --- a/.mill-version +++ b/.mill-version @@ -1 +1 @@ -1.0.0 +1.0.4 diff --git a/build.mill b/build.mill index e0c9ac4..c5519fe 100644 --- a/build.mill +++ b/build.mill @@ -11,8 +11,8 @@ import scalajslib.api.* import scalalib.* object `package` extends ScalaJSModule, ScalablyTyped: - def scalaVersion = "3.3.6" - def scalaJSVersion = "1.16.0" + def scalaVersion = "3.7.2" + def scalaJSVersion = "1.19.0" def moduleKind = ModuleKind.ESModule def mvnDeps = super.mvnDeps() ++ Seq(mvn"com.lihaoyi::sourcecode::0.4.2") diff --git a/src/plotly/CorrelatePlot.scala b/src/plotly/CorrelatePlot.scala index 3aa9a4b..4844ccf 100644 --- a/src/plotly/CorrelatePlot.scala +++ b/src/plotly/CorrelatePlot.scala @@ -39,7 +39,7 @@ object CorrelatePlot: i => val elected = secondaries.zipWithIndex.map: case (d, n) if n + 1 == i => d |> visible(true) - case (d, n) => d |> copy("name", "x", "yaxis") |> visible(legendonly) + case (d, _) => d |> copy("name", "x", "yaxis") |> visible(legendonly) f(primary :: elected, layout.setYaxis2(ys(i).setColorIndex(i))) end apply diff --git a/src/plotly/Registry.scala b/src/plotly/Registry.scala index 617c953..8ba5dd4 100644 --- a/src/plotly/Registry.scala +++ b/src/plotly/Registry.scala @@ -1,9 +1,7 @@ package plotly import scala.language.implicitConversions -import scala.scalajs.js -import typings.plotlyJs.mod.PlotlyHTMLElement import typings.plotlyJsDistMin.mod.* import convs.given