dotnet / interactive

.NET Interactive combines the power of .NET with many other languages to create notebooks, REPLs, and embedded coding experiences. Share code, explore data, write, and learn across your apps in ways you couldn't before.
MIT License
2.8k stars 374 forks source link

Charting Samples Do Not Work #3519

Open Eddie-Hartman opened 2 months ago

Eddie-Hartman commented 2 months ago

Describe the bug

The XPlot.Plotly sample here does not work: https://github.com/dotnet/interactive/blob/main/samples/notebooks/csharp/Docs/Plotting-with-Xplot.ipynb

It just outputs an object instead of a chart.

Generally speaking, I'm looking for the up to date simple charting solution for interactive notebooks. I was using them pretty early when they came out, and it seems like the libraries keep changing or getting more complicated. I want to be able to do simple bar, line, pie, etc type charts. SandDance seems cool, but where is the documentation on how to actually use it? Each time I make a chart, it resets my X and Y axis settings. How do I specify what I want as my actual axis?

Old examples are outdated and links are broken: https://devblogs.microsoft.com/dotnet/net-interactive-is-here-net-notebooks-preview-2/ and I understand how that happens, but coming here the samples also don't work, so what is a stable supported simple charting library with decent C# documentation to use?

Please complete the following:

Which version of .NET Interactive are you using? (In a notebook, run the #!about magic command. ): Version: 1.0.520801+1e5d205f82c7f5bb1b2e5ce60c680491552cfa23

Library version: 1.0.0-beta.24208.1+1e5d205f82c7f5bb1b2e5ce60c680491552cfa23

Build date: 2024-04-08T18:58:35.4991735Z

Screenshots

If applicable, add screenshots to help explain your problem.