Debian Codegraph @

tests/data/notebooks/outputs/ipynb_to_myst/fsharp.md

raw
1 ---
2 kernelspec:
3 display_name: .NET (F#)
4 language: F#
5 name: .net-fsharp
6 ---
7
8 This notebook was inspired by [Plottting with XPlot](https://github.com/dotnet/interactive/blob/master/NotebookExamples/fsharp/Docs/Plotting%20with%20Xplot.ipynb).
9
10 ```{code-cell} fsharp
11 open XPlot.Plotly
12 ```
13
14 ```{code-cell} fsharp
15 let bar =
16 Bar(
17 name = "Bar 1",
18 x = ["A"; "B"; "C"],
19 y = [1; 3; 2])
20
21 [bar]
22 |> Chart.Plot
23 |> Chart.WithTitle "A sample bar plot"
24 ```