Skip to content

Commit ded1e9f

Browse files
committed
finish update existing docs to 5.0.0
1 parent 0277288 commit ded1e9f

File tree

4 files changed

+23
-14
lines changed

4 files changed

+23
-14
lines changed

docs/chart-layout/update_menus.fsx

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -45,17 +45,26 @@ let data =
4545

4646
let updateMenu =
4747
UpdateMenu.init (
48-
Buttons =
49-
[ UpdateMenuButton.init (
50-
Args = [ "type"; "surface" ],
51-
Label = "Surface",
52-
Method = StyleParam.UpdateMethod.Restyle
48+
Buttons = [
49+
UpdateMenuButton.init (
50+
Args = [
51+
let args = DynamicObj.DynamicObj()
52+
args?("type") <- "surface"
53+
args
54+
],
55+
Label = "Surface",
56+
Method = StyleParam.UpdateMethod.Restyle
57+
)
58+
UpdateMenuButton.init (
59+
Args = [
60+
let args = DynamicObj.DynamicObj()
61+
args?("type") <- "heatmap"
62+
args
63+
],
64+
Label = "Heatmap",
65+
Method = StyleParam.UpdateMethod.Restyle
5366
)
54-
UpdateMenuButton.init (
55-
Args = [ "type"; "heatmap" ],
56-
Label = "Heatmap",
57-
Method = StyleParam.UpdateMethod.Restyle
58-
) ],
67+
],
5968
Direction = StyleParam.UpdateMenuDirection.Down,
6069
Pad = Padding.init (R = 10, T = 10),
6170
ShowActive = true,

docs/distribution-charts/2d-histograms.fsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ A Histogram2D chart can be created using the `Chart.Histogram2D` or `Chart.Histo
6666
*)
6767

6868
let histogramContour =
69-
Chart.Histogram2DContour(x = x, y = y, ContourLine = Line.init (Width = 0.))
69+
Chart.Histogram2DContour(x = x, y = y, ContourLines = Line.init (Width = 0.))
7070

7171
(*** condition: ipynb ***)
7272
#if IPYNB

docs/distribution-charts/contour-plots.fsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ let contour3 =
105105
Chart.Contour(
106106
zData = z,
107107
ContoursColoring = StyleParam.ContourColoring.Heatmap,
108-
ShowContourLabels = true,
109-
ContourLabelFont = Font.init (Size = 12., Color = Color.fromKeyword White)
108+
ShowContoursLabels = true,
109+
ContoursLabelFont = Font.init (Size = 12., Color = Color.fromKeyword White)
110110
)
111111

112112
(*** condition: ipynb ***)

docs/distribution-charts/point-density.fsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ let pointDensityChartStyled =
7474
PointMarkerSize = 4,
7575
ColorScale = StyleParam.Colorscale.Viridis,
7676
ColorBar = ColorBar.init (Title = Title.init ("Density")),
77-
ShowContourLabels = true
77+
ShowContoursLabels = true
7878
)
7979

8080
(*** condition: ipynb ***)

0 commit comments

Comments
 (0)