Skip to content

Commit d670066

Browse files
committed
Fix: (*** do-not-eval ***)
1 parent e637bb9 commit d670066

File tree

5 files changed

+8
-9
lines changed

5 files changed

+8
-9
lines changed

docs/content/2d-histograms.fsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,9 @@
55
(**
66
# FSharp.Plotly: Histogram2d
77
8-
*Summary:* This example shows how to create pie and doughnut charts in F#.
8+
*Summary:* This example shows how to create a bi-dimensional histogram of two data samples in F#.
99
10-
A pie or a doughnut chart can be created using the `Chart.Pie` and `Chart.Doughnut` functions.
11-
When creating pie or doughnut charts, it is usually desirable to provide both labels and
12-
values.
10+
A Histogram2d chart can be created using the `Chart.Histogram2d` functions.
1311
*)
1412

1513
open FSharp.Plotly
@@ -20,4 +18,5 @@ let y' = [for i=0 to 500 do yield rnd.NextDouble() ]
2018

2119
(*** define-output:histo1 ***)
2220
Chart.Histogram2d(x',y')
21+
|> Chart.withSize(500.,500.)
2322
(*** include-it:histo1 ***)

docs/content/box-plots.fsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ let x = ["bin1";"bin2";"bin1";"bin2";"bin1";"bin2";"bin1";"bin1";"bin2";"bin1"]
1818

1919
(*** define-output:box1 ***)
2020
Chart.BoxPlot(x,y,Jitter=0.3,Boxpoints=StyleOption.Boxpoints.Outliers)
21-
|> Chart.Show
21+
//|> Chart.Show
2222
(*** include-it:box1 ***)

docs/content/bubble-charts.fsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,4 @@ let size = [19; 26; 55;]
2020

2121
(*** define-output:pie1 ***)
2222
Chart.Bubble(x,y,size,Color=["rgba(255,255,100,0.5)";"rgba(255,255,10,0.5)";"rgba(255,2,10,0.5)"])
23-
|> Chart.Show
2423
(*** include-it:pie1 ***)

docs/content/index.fsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,13 @@ Create the combined chart
3434
|> Chart.withLineStyle(Width=1);
3535
]
3636
|> Chart.Combine
37-
(*** do-not-eval ***)
37+
(*** include-it:pie1 ***)
3838
(**
3939
By piping the combined chart into `Chart.Show` function it will be displayed in your browser.
4040
*)
41+
(*** do-not-eval ***)
4142
|> Chart.Show
42-
(*** include-it:pie1 ***)
43+
4344

4445
(**
4546

src/FSharp.Plotly/Chart.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ type Chart =
228228
)
229229
GenericChart.Chart (trace,None)
230230

231-
231+
/// Compute the bi-dimensional histogram of two data samples.
232232
static member Histogram2d(x,y) =
233233
//let marker = Marker() |> Helpers.ApplyMarkerStyles(?color=Color)
234234
let trace =

0 commit comments

Comments
 (0)