File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/jupyter Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ import org.jetbrains.kotlinx.dataframe.impl.createStarProjectedType
37
37
import org.jetbrains.kotlinx.dataframe.impl.renderType
38
38
import org.jetbrains.kotlinx.jupyter.api.HTML
39
39
import org.jetbrains.kotlinx.jupyter.api.HtmlData
40
+ import org.jetbrains.kotlinx.jupyter.api.JupyterClientType
40
41
import org.jetbrains.kotlinx.jupyter.api.KotlinKernelHost
41
42
import org.jetbrains.kotlinx.jupyter.api.VariableName
42
43
import org.jetbrains.kotlinx.jupyter.api.declare
@@ -56,6 +57,10 @@ internal class Integration : JupyterIntegration() {
56
57
val codeGen = ReplCodeGenerator .create()
57
58
val config = JupyterConfiguration ()
58
59
60
+ if (notebook.jupyterClientType == JupyterClientType .KOTLIN_NOTEBOOK ) {
61
+ config.display.isolatedOutputs = true
62
+ }
63
+
59
64
onLoaded {
60
65
declare(" dataFrameConfig" to config)
61
66
}
You can’t perform that action at this time.
0 commit comments