Open gmitch215 opened 1 week ago
Hi, in what environment did you get this error? I.e., Jupyter notebook/lab, Kotlin notebook plugin in IntelliJ IDEA, or other?
Using Kandy as a gradle dependency on Kotlin/JVM.
dependencies {
// ...
implementation("org.jetbrains.kotlinx:kandy-lets-plot:0.7.1")
Uh-oh, apparently @ThreadLocal
only has an effect on the Kotlin/Native platform.
I understand you are calling toPNG()
in your own mulithreded app?
Yes, I'm using coroutines on the JVM.
Hello,
I'm using Kandy for creating graphing data using Kotlin. Occasionally, the
toPNG
function throws this error:It seems to be directly a Lets-Plot bug instead of a Kandy bug, and is linked to this line of code in
GeomMeta
: