Skip to content

Commit 01f9a17

Browse files
committed
fix docs
1 parent ef4d1b2 commit 01f9a17

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

docs/00_0_basics.fsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ let myTrace = Trace("scatter") // create a scatter trace
7777
myTrace?x <- [0;1;2] // set the x property (the x dimension of the data)
7878
myTrace?y <- [0;1;2] // set the y property (the y dimension of the data)
7979

80-
GenericChart.ofTraceObject myTrace // create a generic chart (layout and config are empty objects)
80+
GenericChart.ofTraceObject false myTrace // create a generic chart (layout and config are empty objects. When using useDefaults = true, default styling will be applied.)
8181
|> Chart.show
8282

8383
(**

docs/03_2_3d-mesh-plots.fsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ let mesh3d =
7474
mesh3d?contour <- Contours.initXyz(Show=true)
7575
mesh3d
7676
)
77-
|> GenericChart.ofTraceObject
77+
|> GenericChart.ofTraceObject true
7878

7979
(*** condition: ipynb ***)
8080
#if IPYNB

docs/09_1_parallel-coords.fsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ let parcoords =
8686
dyn?line <- Line.init(Color=Color.fromString "blue")
8787

8888
dyn
89-
|> GenericChart.ofTraceObject
89+
|> GenericChart.ofTraceObject true
9090

9191
(*** condition: ipynb ***)
9292
#if IPYNB

docs/index.fsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ let trace =
277277
tmp?name <- "Hello from F#"
278278
tmp
279279

280-
GenericChart.ofTraceObject(trace)
280+
GenericChart.ofTraceObject true trace
281281
|> GenericChart.setLayout layout
282282

283283
(**

0 commit comments

Comments
 (0)