Skip to content

Commit b9fadb0

Browse files
committed
Round 3d line data to stabilize tests
1 parent 7187d07 commit b9fadb0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/Plotly.NET.Tests/HtmlCodegen/Charts3D.fs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ let lineChart =
3939
let i' = float i
4040
let r = 10. * Math.Cos (i' / 10.)
4141
(r * Math.Cos i', r * Math.Sin i', i')
42+
|> fun (x,y,z) ->
43+
Math.Round(x,3),
44+
Math.Round(y,3),
45+
Math.Round(z,3)
4246
)
4347
|> List.unzip3
4448

0 commit comments

Comments
 (0)