holgerbrandl / kravis

A {K}otlin g{ra}mmar for data {vis}ualization
BSD 2-Clause "Simplified" License
183 stars 12 forks source link

Can not plot grouped krangl data #25

Open holgerbrandl opened 3 years ago

holgerbrandl commented 3 years ago

When a dataframe is grouped, plotting fails with

java.lang.UnsupportedOperationException
krangl.Extensions.rowData(Extensions.kt:902)
krangl.TableIOKt.writeCSV(TableIO.kt:297)
krangl.TableIOKt.writeTSV(TableIO.kt:274)
krangl.TableIOKt.writeTSV$default(TableIO.kt:273)
kravis.render.LocalR.render$kravis(LocalR.kt:21)
kravis.GGPlot.save(GGPlot2.kt:164)
kravis.device.JupyterDevice.show(JupyterDevice.kt:25)
kravis.device.JupyterDevice.show(JupyterDevice.kt:20)
kravis.GGPlot.show(GGPlot2.kt:169)
Line_101_jupyter.<init>(Line_101.jupyter.kts:3)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)