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
1515import org.jetbrains.kotlinx.jupyter.api.FieldHandlerExecution
1616import org.jetbrains.kotlinx.jupyter.api.libraries.FieldHandlerFactory
1717import org.jetbrains.kotlinx.jupyter.api.libraries.JupyterIntegration
18- import org.jetbrains.kotlinx.jupyter.api.outputs.display
1918import kotlin.reflect.KProperty
2019import kotlin.reflect.full.isSubtypeOf
2120import kotlin.reflect.typeOf
@@ -55,9 +54,11 @@ internal class IntegrationGeo : JupyterIntegration() {
5554 useSchema<WithMultiLineStringGeometry >()
5655 }
5756
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
6162 }
6263
6364 val replCodeGeneratorImpl = ReplCodeGeneratorImpl ()
You can’t perform that action at this time.
0 commit comments