Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .mill-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.0
1.0.4
4 changes: 2 additions & 2 deletions build.mill
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion src/plotly/CorrelatePlot.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 0 additions & 2 deletions src/plotly/Registry.scala
Original file line number Diff line number Diff line change
@@ -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
Expand Down