Kotlin / dataframe

Structured data processing in Kotlin
https://kotlin.github.io/dataframe/overview.html
Apache License 2.0
764 stars 48 forks source link

Rendering of IMG, IFrame appears to be broken #319

Open koperagen opened 1 year ago

koperagen commented 1 year ago

These 2 classes if presented in dataframe should be rendered in HTML to img and iframe tags. For me it didn't work. Our youtube example relies on this feature, so I went and checked if the previously working example is still intact, but the answer is no for IntelliJ project. In datalore its even worse, it breaks completely when i run cell with "load", although it doesn't even use any iframe or anything like that, only special rendering of URL. At this point i decided not to investigate Datalore issue further.

koperagen commented 1 year ago

Where it's used https://github.com/Kotlin/dataframe/blob/0160fbd7fbf1f58d72c70639c10af5169442d6ad/examples/idea-examples/youtube/src/main/kotlin/org/jetbrains/kotlinx/dataframe/examples/youtube/youtube.kt#L58

And how it supposed to look image

koperagen commented 1 year ago

It seems that problem is with CellRenderer. Jupyter uses different implementation, rendering there is just fine image image