File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
dataframe-geo-jupyter/src/main/kotlin/org/jetbrains/kotlinx/dataframe/jupyter Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ import org.jetbrains.kotlinx.jupyter.api.FieldHandler
15
15
import org.jetbrains.kotlinx.jupyter.api.FieldHandlerExecution
16
16
import org.jetbrains.kotlinx.jupyter.api.libraries.FieldHandlerFactory
17
17
import org.jetbrains.kotlinx.jupyter.api.libraries.JupyterIntegration
18
- import org.jetbrains.kotlinx.jupyter.api.outputs.display
19
18
import kotlin.reflect.KProperty
20
19
import kotlin.reflect.full.isSubtypeOf
21
20
import kotlin.reflect.typeOf
@@ -55,9 +54,11 @@ internal class IntegrationGeo : JupyterIntegration() {
55
54
useSchema<WithMultiLineStringGeometry >()
56
55
}
57
56
58
- render<GeoDataFrame <* >> {
59
- notebook.display(" GeoDataFrame with ${it.crs?.name?.code} CRS and inner dataframe:" )
60
- it.df
57
+ renderWithHost<GeoDataFrame <* >> { host, geoDataFrame ->
58
+ host.execute {
59
+ display(" GeoDataFrame with ${geoDataFrame.crs?.name?.code} CRS and inner dataframe:" , null )
60
+ }
61
+ geoDataFrame.df
61
62
}
62
63
63
64
val replCodeGeneratorImpl = ReplCodeGeneratorImpl ()
You can’t perform that action at this time.
0 commit comments