Skip to content

Commit 9845b4d

Browse files
committed
add 404 docs template source
1 parent 2e8d8f8 commit 9845b4d

File tree

2 files changed

+76
-0
lines changed

2 files changed

+76
-0
lines changed

Plotly.NET.sln

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ EndProject
4343
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "docs", "docs", "{7B09CC0A-F1E1-4094-9DE4-B047581E01F0}"
4444
ProjectSection(SolutionItems) = preProject
4545
docs\Dockerfile = docs\Dockerfile
46+
docs\404.fsx.txt = docs\404.fsx.txt
4647
docs\index.fsx = docs\index.fsx
4748
docs\NuGet.config = docs\NuGet.config
4849
docs\_template.html = docs\_template.html

docs/404.fsx.txt

+75
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
(*** hide ***)
2+
3+
(*** condition: prepare ***)
4+
#r "nuget: Deedle"
5+
#r "nuget: FsHttp"
6+
#r "nuget: Newtonsoft.JSON, 13.0.1"
7+
#r "nuget: DynamicObj, 2.0.0"
8+
#r "nuget: Giraffe.ViewEngine.StrongName, 2.0.0-alpha1"
9+
#r "../src/Plotly.NET/bin/Release/netstandard2.0/Plotly.NET.dll"
10+
11+
Plotly.NET.Defaults.DefaultDisplayOptions <-
12+
Plotly.NET.DisplayOptions.init (PlotlyJSReference = Plotly.NET.PlotlyJSReference.NoReference)
13+
14+
open Plotly.NET
15+
16+
let data = [
17+
[0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0;]
18+
[0; 0; 0; 0; 4; 0; 4; 4; 4; 4; 0; 0; 0; 0; 4; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0;]
19+
[0; 0; 0; 4; 4; 0; 4; 0; 0; 4; 0; 0; 0; 4; 4; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0;]
20+
[0; 0; 4; 0; 4; 0; 4; 0; 0; 4; 0; 0; 4; 0; 4; 0; 0; 0; 0;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0; 4; 0; 4; 0; 0; 4; 0; 4; 0; 4; 4; 0; 4; 0; 4; 0;]
47+
[0; 4; 0; 0; 0; 0; 4; 4; 4; 4; 0; 4; 4; 4; 4; 0; 4; 0; 0; 4; 0; 4; 4; 0; 0;]
48+
[0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0;]
49+
]
50+
51+
let histChart =
52+
Chart.Heatmap(
53+
zData = data,
54+
ZSmooth = StyleParam.SmoothAlg.Best,
55+
ReverseYAxis = true,
56+
ShowScale = false
57+
)
58+
|> Chart.withSize(1000,1000)
59+
60+
(*** condition: ipynb ***)
61+
#if IPYNB
62+
#r "nuget: Plotly.NET, {{fsdocs-package-version}}"
63+
#r "nuget: Plotly.NET.Interactive, {{fsdocs-package-version}}"
64+
#endif // IPYNB
65+
66+
(**
67+
# Page not found =(
68+
69+
[click here](/) to return to the main documentation page.
70+
71+
*)
72+
73+
(***hide***)
74+
histChart |> GenericChart.toChartHTML
75+
(***include-it-raw***)

0 commit comments

Comments
 (0)