Reputation: 43
I'm new to F# interactive notebook and XPlot.Plotly.
I tried the following code in the hopes to get a nice sine wave shown
#r "nuget: XPlot.Plotly"
open XPlot.Plotly
let series = [for x in -5.0 .. 0.1 .. 5.0 -> sin x]
Chart.Line(series)
Instead of the chart I get this Table showing Height, Id and Width
Please point out what I'm doing wrong
Upvotes: 4
Views: 571
Reputation: 617
You need to add the interactive nuget package
#r "nuget: XPlot.Plotly"
#r "nuget: XPlot.Plotly.Interactive"
Upvotes: 4