Skip to content

Commit 92c4d02

Browse files
committed
Release v4.7.0
1 parent 0cde16e commit 92c4d02

File tree

19 files changed

+28
-28
lines changed

19 files changed

+28
-28
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ In this case the latest `library descriptor` will be pulled from the [Kotlin Jup
101101
#### Library Descriptor Parameters
102102

103103
```
104-
%use lets-plot(api=4.6.0, lib=4.2.0, js=4.2.0, isolatedFrame=false)
104+
%use lets-plot(api=4.7.0, lib=4.3.0, js=4.3.0, isolatedFrame=false)
105105
```
106106
- `api` - version of the Lets-Plot Kotlin API.
107107
- `lib` - version of the Lets-Plot Multiplatform (JARs).

USAGE_BATIK_JFX_JS.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ plugins {
5252

5353
dependencies {
5454
// Lets-Plot Kotlin API
55-
implementation("org.jetbrains.lets-plot:lets-plot-kotlin-jvm:4.6.0")
55+
implementation("org.jetbrains.lets-plot:lets-plot-kotlin-jvm:4.7.0")
5656
// Lets-Plot Multiplatform (Batik rendering)
57-
implementation("org.jetbrains.lets-plot:lets-plot-batik:4.2.0")
57+
implementation("org.jetbrains.lets-plot:lets-plot-batik:4.3.0")
5858
}
5959
```
6060

@@ -75,9 +75,9 @@ plugins {
7575

7676
dependencies {
7777
// Lets-Plot Kotlin API
78-
implementation("org.jetbrains.lets-plot:lets-plot-kotlin-jvm:4.6.0")
78+
implementation("org.jetbrains.lets-plot:lets-plot-kotlin-jvm:4.7.0")
7979
// Lets-Plot Multiplatform (JFX Scene rendering)
80-
implementation("org.jetbrains.lets-plot:lets-plot-jfx:4.2.0")
80+
implementation("org.jetbrains.lets-plot:lets-plot-jfx:4.3.0")
8181
}
8282
```
8383

@@ -95,7 +95,7 @@ kotlin {
9595
named("jsMain") {
9696
dependencies {
9797
// Lets-Plot Kotlin API
98-
implementation("org.jetbrains.lets-plot:lets-plot-kotlin-js:4.6.0")
98+
implementation("org.jetbrains.lets-plot:lets-plot-kotlin-js:4.7.0")
9999
}
100100
}
101101
}
@@ -193,7 +193,7 @@ val rawSpec = figure.toSpec()
193193
```kotlin
194194
val html: String = PlotHtmlExport.buildHtmlFromRawSpecs(
195195
plotSpec = rawSpec,
196-
scriptUrl = PlotHtmlHelper.scriptUrl(version="4.2.0"),
196+
scriptUrl = PlotHtmlHelper.scriptUrl(version="4.3.0"),
197197
iFrame = true
198198
)
199199
```

build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ if (project.file("local.properties").exists()) {
2525
allprojects {
2626
group = "org.jetbrains.lets-plot"
2727
version = when (name) {
28-
"dokka" -> "4.6.0"
29-
else -> "4.6.1-SNAPSHOT"
28+
"dokka" -> "4.7.0"
29+
else -> "4.7.1-SNAPSHOT"
3030
// else -> "0.0.0-SNAPSHOT" // for local publishing only
3131
}
3232

demo/js-frontend-app/src/jsMain/resources/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</head>
1111
<body>
1212
<script type="text/javascript"
13-
src="https://cdn.jsdelivr.net/gh/JetBrains/lets-plot@v4.1.0/js-package/distr/lets-plot.min.js"></script>
13+
src="https://cdn.jsdelivr.net/gh/JetBrains/lets-plot@v4.3.0/js-package/distr/lets-plot.min.js"></script>
1414
<script src="js-frontend-app.js"></script>
1515
<div>
1616
<h2>Lets-Plot Kotlin/JS Demo.</h2>

demo/jvm-batik/src/main/kotlin/frontendContextDemo/scripts/Theme.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ object Theme {
3636

3737
(p + theme(
3838
axisTextY = "blank",
39-
axisTicksY = org.jetbrains.letsPlot.themes.elementBlank(),
39+
axisTicksY = elementBlank(),
4040
axisTitleY = "blank"
4141
).legendPositionNone()).show()
4242

@@ -114,8 +114,8 @@ object Theme {
114114
// justifications and margins
115115
(p + ggtitle("Justifications and margins") + theme(
116116
plotTitle = elementText(hjust = 0.5),
117-
axisTitleX = elementText(hjust = 1, margin = margin(t = 20)),
118-
axisTitleY = elementText(hjust = 0, margin = margin(r = 20))
117+
axisTitleX = elementText(hjust = 1, margin = arrayOf(20, 0, 0, 0)),
118+
axisTitleY = elementText(hjust = 0, margin = arrayOf(0, 20, 0, 0))
119119
)).show()
120120
}
121121
}

0 commit comments

Comments
 (0)