Comments (9)
I think this is an upstream issue - I updated this yesterday and confirmed that 4.0.4 worked with the latest .NET Interactive then.
from xplot.
Actually, somehow today I received as well:
Visual Studio Code:
Version: 1.62.1 (user setup)
Commit: f4af3cbf5a99787542e2a30fe1fd37cd644cc31f
Date: 2021-11-05T10:57:55.946Z
Electron: 13.5.2
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Windows_NT x64 10.0.22000
from xplot.
I'm getting a very similar error. Here's the code I'm trying to run:
#r "nuget: XPlot.Plotly, 4.0.4"
#r "nuget: XPlot.Plotly.Interactive, 4.0.4"
#r "nuget: Collatz, 0.1.0"
using Collatz;
var position = 0;
var sequence = CollatzSequenceGenerator.Generate(5)
.Select(_ => Tuple.Create(position++, (long)_));
var chart = Chart.Line(sequence);
chart
In VS, I can't copy the error, but here's a screen shot:
In VSCode, this is the error message:
Error: System.IO.FileNotFoundException: Could not load file or assembly 'System.Management.Automation, Version=7.1.4.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified.
File name: 'System.Management.Automation, Version=7.1.4.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
at System.Reflection.RuntimeAssembly.GetExportedTypes()
at System.Reflection.Assembly.get_ExportedTypes()
at Microsoft.DotNet.Interactive.Extensions.AssemblyBasedExtensionLoader.LoadFromAssembly(FileInfo assemblyFile, Kernel kernel, KernelInvocationContext context) in D:\workspace\_work\1\s\src\Microsoft.DotNet.Interactive\Extensions\AssemblyBasedExtensionLoader.cs:line 112
at Microsoft.DotNet.Interactive.Extensions.AssemblyBasedExtensionLoader.LoadFromAssembliesInDirectory(DirectoryInfo directory, Kernel kernel, KernelInvocationContext context) in D:\workspace\_work\1\s\src\Microsoft.DotNet.Interactive\Extensions\AssemblyBasedExtensionLoader.cs:line 74
at Microsoft.DotNet.Interactive.Extensions.AssemblyBasedExtensionLoader.LoadFromDirectoryAsync(DirectoryInfo directory, Kernel kernel, KernelInvocationContext context) in D:\workspace\_work\1\s\src\Microsoft.DotNet.Interactive\Extensions\AssemblyBasedExtensionLoader.cs:line 47
at Microsoft.DotNet.Interactive.CompositeKernel.LoadExtensionsFromDirectoryAsync(DirectoryInfo directory, KernelInvocationContext context) in D:\workspace\_work\1\s\src\Microsoft.DotNet.Interactive\CompositeKernel.cs:line 320
at Microsoft.DotNet.Interactive.CompositeKernel.LoadExtensions(KernelCommand command, KernelInvocationContext context, KernelPipelineContinuation next) in D:\workspace\_work\1\s\src\Microsoft.DotNet.Interactive\CompositeKernel.cs:line 167
at Microsoft.DotNet.Interactive.KernelCommandPipeline.<>c__DisplayClass6_0.<<BuildPipeline>g__Combine|2>d.MoveNext() in D:\workspace\_work\1\s\src\Microsoft.DotNet.Interactive\KernelCommandPipeline.cs:line 74
--- End of stack trace from previous location ---
at Microsoft.DotNet.Interactive.KernelCommandPipeline.SendAsync(KernelCommand command, KernelInvocationContext context) in D:\workspace\_work\1\s\src\Microsoft.DotNet.Interactive\KernelCommandPipeline.cs:line 48
from xplot.
FWIW if I ran the cell twice the error goes away and XPlot works.
from xplot.
What version number does #!about
show?
from xplot.
.NET Interactive
© 2020 Microsoft Corporation
Version: 1.0.255902+b0afbdc47dec91e62b0c5cb587a0f2c24242eca8
Build date: 2021-11-14T17:01:53.8658953Z
https://github.com/dotnet/interactive
from xplot.
Closing out, as latest XPlot.Plotly.Interactive (4.0.6) + latest .NET Interactive all work
from xplot.
Yep, all good on my machine as well :)
from xplot.
Dope!
from xplot.
Related Issues (20)
- Support for Radar Charts
- Static randomly-generated data for randomness tests
- [Feature Request] : Accessors for JSON serialized names and traces in PlotlyChart
- GoogleCharts.Map Not Displaying HOT 2
- XPlot.Plotly some configuration options are missing
- documentation for palettes for heatmaps HOT 3
- Visualizing 3d meshes in jupyter notebook HOT 1
- XPlot in a C# .NET Console App (not a jupyter notebook) HOT 3
- Adding support for .NET Interactive extensions
- API for incremental updates HOT 1
- HTML output of notebook does not display Plotly chart
- Cannot get xplot render in VS Code HOT 1
- Unable to use a collection for hover data in XPlot.Plotly.Scattergl HOT 1
- Unable to set 'rangeslider': { 'visible': false } for XPlot.Plotly.Candlestick HOT 2
- xplot.plotly.interactive failed with the latest VS Code HOT 8
- Please don't update to FSharp.Core 6.0 when not needed :) HOT 1
- How to name z-axis in a C# application
- Use Plotly.NET!
- Missing Method Issue with 4.0.6 HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xplot.