SciProgCentre / plotly.kt

An interactive Kotlin wrapper for plotly visualization tools
https://sciprogcentre.github.io/plotly.kt/
Apache License 2.0
147 stars 21 forks source link

Single shape block transforms to object instead of array #97

Closed SPC-code closed 11 months ago

SPC-code commented 11 months ago

And example could be found in #96

SPC-code commented 11 months ago

@Joseph-Hui The problem from #96 is fixed in the dev release 0.6.0-dev-2. I can't promise it will be released soon to the mavenCentral since it relies on the upstream change on DataForge. But you can use it anyway. I've also added some utility functions to make defining shape rectangle more convenient.

Joseph-Hui commented 11 months ago

I just found that annotation has the same problem. One annotation does not show up.

SPC-code commented 11 months ago

Yes, it is the common problem for all blocks. The fix fixes them all.

SPC-code commented 11 months ago

Released in 0.6.0