You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for reporting this.
Please note however that by adding p as a last expr. in cell you discard the value of the expression next to the last.
Effectively, you are trying to visualize letsPlot {x=X; y=Y; fill=Z} which is of course an empty plot (no layers).
@alshan yes, there was normal error message before (api=4.2.0, lib=3.0.0, js=3.0.0 and api=4.3.0, lib=3.1.0, js=3.1.0 are ok, latest version is broken)
alshan
changed the title
Bug in ploty
Bug in empty plot: IndexOutOfBoundsException
Aug 9, 2023
Sry for the not-so-descriptive title. Anyway, akin to R I tried following code which I copied and changed from [1]
You might notice that I added a
p
in the last line, akin to R. This results in the following errorInternal error: IndexOutOfBoundsException: index: 0, size 0
.Removing the
p
again results in working code. I filed this issue due to the quite undescriptive error message.Thank you for the nice library and your time
Thomas
Discussion on Kotlin Slack: https://kotlinlang.slack.com/archives/C05333T208Y/p1689348252503279
[1] https://nbviewer.org/github/JetBrains/lets-plot-kotlin/blob/master/docs/examples/jupyter-notebooks/contours.ipynb
The text was updated successfully, but these errors were encountered: