Skip to content

Commit 400ad0a

Browse files
committed
Rename toExpandedHtml to toHtmlWithOpenedNestedDfs
1 parent ac9cd96 commit 400ad0a

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

samples/src/test/kotlin/org/jetbrains/kotlinx/dataframe/samples/DataFrameSampleHelper.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,11 @@ abstract class DataFrameSampleHelper(sampleName: String, subFolder: String = "sa
8787
""".trimIndent(),
8888
)
8989

90-
fun DataFrame<*>.toExpandedHtml() =
90+
fun DataFrame<*>.toHtmlWithOpenedNestedDfs() =
9191
toStandaloneHtml(
9292
configuration = DisplayConfiguration(enableFallbackStaticTables = false),
9393
getFooter = { "" },
9494
) + expandNestedFramesScript
9595

96-
fun GroupBy<*, *>.toExpandedHtml() = toDataFrame().toExpandedHtml()
96+
fun GroupBy<*, *>.toHtmlWithOpenedNestedDfs() = toDataFrame().toHtmlWithOpenedNestedDfs()
9797
}

samples/src/test/kotlin/org/jetbrains/kotlinx/dataframe/samples/api/CountDistinctSamples.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class CountDistinctSamples : DataFrameSampleHelper("countDistinct", "api") {
6868
// SampleStart
6969
df.groupBy { city }
7070
// SampleEnd
71-
.toExpandedHtml()
71+
.toHtmlWithOpenedNestedDfs()
7272
.saveDfHtmlSample()
7373
}
7474

@@ -131,7 +131,7 @@ class CountDistinctSamples : DataFrameSampleHelper("countDistinct", "api") {
131131
background(firstNameToColor(firstName)) and textColor(black)
132132
}
133133
}
134-
.toExpandedHtml()
134+
.toHtmlWithOpenedNestedDfs()
135135
.saveDfHtmlSample()
136136
}
137137
}

0 commit comments

Comments
 (0)