Closed poopsicles closed 1 year ago
Hey @poopsicles thanks for reporting this.
I can not reproduce this issue, at least not on windows. You seem to be mixing F# and C# cells, but have no dependency loading cell for both (your first cell can only work for one, C# or F#)
However, i tried all permutations that are expected to work, and all of them produce the desired chart:
What version of the extension are you using?
Hey @kMutagene, thanks for the quick response.
Yeah I saw that the library was somewhat F#-first, that's why I tried to do it in both languages. I'll see if I can try and get the issue on some of my other friends' devices, they use the whole spectrum (macOS, Windows, Fedora) so that I can see if it's just a me problem.
I'm using v1.0.4552010 of Polyglot Notebooks, and the output indicates Plotly.NET.CSharp, 0.11.1 & Plotly.NET.Interactive, 4.2.1 is being installed.
And I just tried now and it works anyways, I think maybe me mixing both C# and F# might have broken it (or maybe the order?)
Thank you soo much for your help!
Still a weird error, never seen before. Happy that it works for you now 👍
Description
When I make a minimal C#/F# notebook, it fails to render under the cell when the chart is the last variable. However when Chart.Show() is called, it opens fine in a browser window.
Repro steps
.ipynb
fileAdd the following cells:
Expected behavior
The chart is rendered under both cells.
Actual behavior
An exception is thrown:
Known workarounds
Don't display the cell output in the cell, call .Show() to open it in a browser
Related information