Skip to content

Commit a7e0031

Browse files
committed
fix surface test
1 parent d5e4468 commit a7e0031

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ let ``Surface charts`` =
182182
emptyLayout firstSurfaceChart
183183
);
184184
testCase "Second surface data" ( fun () ->
185-
"""var data = [{"type":"surface","x":[0.0,2.5],"y":[0.0,2.5],"z":[[1.0,1.0],[1.0,2.0]],"contours":{"x":{"show":true},"y":{"show":true},"z":{"show":true}},"opacity":0.5}];"""
185+
"""var data = [{"type":"surface","opacity":0.5,"x":[0.0,2.5],"y":[0.0,2.5],"z":[[1.0,1.0],[1.0,2.0]],"contours":{"x":{"show":true},"y":{"show":true},"z":{"show":true}}}];"""
186186
|> chartGeneratedContains secondSurfaceChart
187187
);
188188
testCase "Second surface layout" ( fun () ->

0 commit comments

Comments
 (0)