xplot.plotly.interactive failed with the latest VS Code
See original GitHub issueWith the update to the latest VS Code version, the nuget package xplot.plotly.interactive
failed.
To Reproduce
- Use Visual Studio Code 1.62.0 or 1.63.0-insider
- Code:
#r "nuget:XPlot.Plotly"
#r "nuget:xplot.plotly.interactive"
- Run
Expected behavior No errors since they were not with the previous version of VS Code.
Output
Loading extensions from XPlot.Plotly.Interactive.dll
Error: Microsoft.DotNet.Interactive.KernelExtensionLoadException: Failure loading Kernel Extension —> System.MissingMethodException: Method not found: ‘Microsoft.DotNet.Interactive.DisplayedValue Microsoft.DotNet.Interactive.KernelInvocationContextExtensions.Display(Microsoft.DotNet.Interactive.KernelInvocationContext, System.Object, System.String)’. at XPlot.Plotly.Interactive.KernelExtension.Microsoft.DotNet.Interactive.IKernelExtension.OnLoadAsync(Kernel kernel) at Microsoft.DotNet.Interactive.Extensions.AssemblyBasedExtensionLoader.LoadFromAssembly(FileInfo assemblyFile, Kernel kernel, KernelInvocationContext context) in C:\a_work\1\s\src\Microsoft.DotNet.Interactive\Extensions\AssemblyBasedExtensionLoader.cs:line 132 — End of inner exception stack trace —
If I re-run this code – there will be no error, however instead of chart, I see a table with parameters (see screenshot).
Screenshot
Other information:
- .NET 5.0.402
- Enviroment (jupyter notebooks in Visual Studio Code)
- Library version 4.0.3
Issue Analytics
- State:
- Created 2 years ago
- Comments:8
Top GitHub Comments
Looks like Plotly.NET updated to include the latest dependencies as well.
@kkartavenka @Alkasai can you try now? I updated dependencies and published a new set of packages.