From 710b70a7eba29a08c58ff8c6a7d9103f8ae67d64 Mon Sep 17 00:00:00 2001 From: Till Schallau Date: Tue, 31 Oct 2023 12:59:02 +0100 Subject: [PATCH] Update lets-plot versions --- gradle/libs.versions.toml | 4 ++-- .../stars/core/metric/utils/DataPlotter.kt | 20 +++++++++---------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 55df4019..a331c173 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -51,8 +51,8 @@ kotlinx-serialization-json = { group = "org.jetbrains.kotlinx", name = "kotlinx- ktor-core = { group = "io.ktor", name = "ktor-server-core", version.ref = "ktor" } ktor-netty = { group = "io.ktor", name = "ktor-server-netty", version.ref = "ktor" } -letsplot-kotlinjvm = { group = "org.jetbrains.lets-plot", name = "lets-plot-kotlin-jvm", version = "3.0.2" } -letsplot-imageexport = { group = "org.jetbrains.lets-plot", name = "lets-plot-image-export", version = "2.1.0" } +letsplot-kotlinjvm = { group = "org.jetbrains.lets-plot", name = "lets-plot-kotlin-jvm", version = "4.4.3" } +letsplot-imageexport = { group = "org.jetbrains.lets-plot", name = "lets-plot-image-export", version = "4.0.1" } openjfx-base = { group = "org.openjfx", name = "javafx-base", version.ref = "openjfx" } openjfx-controls = { group = "org.openjfx", name = "javafx-controls", version.ref = "openjfx" } diff --git a/stars-core/src/main/kotlin/tools/aqua/stars/core/metric/utils/DataPlotter.kt b/stars-core/src/main/kotlin/tools/aqua/stars/core/metric/utils/DataPlotter.kt index e6ca2f51..fee945a7 100644 --- a/stars-core/src/main/kotlin/tools/aqua/stars/core/metric/utils/DataPlotter.kt +++ b/stars-core/src/main/kotlin/tools/aqua/stars/core/metric/utils/DataPlotter.kt @@ -20,16 +20,16 @@ package tools.aqua.stars.core.metric.utils import java.io.File import java.time.LocalDateTime import java.time.format.DateTimeFormatter -import jetbrains.letsPlot.Stat -import jetbrains.letsPlot.export.ggsave -import jetbrains.letsPlot.geom.geomBar -import jetbrains.letsPlot.geom.geomLine -import jetbrains.letsPlot.intern.Plot -import jetbrains.letsPlot.letsPlot -import jetbrains.letsPlot.positionDodge -import jetbrains.letsPlot.sampling.samplingNone -import jetbrains.letsPlot.scale.scaleXContinuous -import jetbrains.letsPlot.scale.scaleYContinuous +import org.jetbrains.letsPlot.Stat +import org.jetbrains.letsPlot.export.ggsave +import org.jetbrains.letsPlot.geom.geomBar +import org.jetbrains.letsPlot.geom.geomLine +import org.jetbrains.letsPlot.intern.Plot +import org.jetbrains.letsPlot.letsPlot +import org.jetbrains.letsPlot.pos.positionDodge +import org.jetbrains.letsPlot.sampling.samplingNone +import org.jetbrains.letsPlot.scale.scaleXContinuous +import org.jetbrains.letsPlot.scale.scaleYContinuous /** Sets the offset to distinguish lines with equal trajectory */ private const val POSITION_DODGE = 0.3