3 ms·
Is ggplot2 generic enough that it allows one to create any graph one wants, or is it opinionated in how or what graphs can be made? However the best thing abou
by billfruit 3y ago
Is ggplot2 generic enough that it allows one to create any graph one wants, or is it opinionated in how or what graphs can be made?
However the best thing about this library may be that it is available for Kotlin.
- wing-_-nuts 3y ago>However the best thing about this library may be that it is available for Kotlin. What? How's that? It's written in python. Does kotlin have python interop?
- 411111111111111 3y agoIt's linked in the description https://github.com/JetBrains/lets-plot-kotlin https://github.com/JetBrains/lets-plot-kotlin
- wodenokoto 3y agoGgplot is opinionated, but mostly in its api. From memory the only thing you can’t do in base ggplot is have to y-axis, but there are plenty of libraries available that expands the types of plots available (eg gggraph for plotting network graphs)
- smodo 3y agoYou can’t have two y axes? I’d call that a pretty strong opinion.
- dav43 3y agoThis isn’t the case
- V1ndaar 3y agoWell, the thing is you can have two y axes, but they must be simple transformations one another. The reason being (iirc, don't want to put words into Hadley Wickham's mouth) is that if you cannot provide a transformation from one y axis to the other, then the data shouldn't be in one plot to begin with (as it then shows clearly distinct data).