Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f4e2ca5

Browse files
committed
ACTUALLY delted dtype from trisurf test
1 parent a8d6e7c commit f4e2ca5

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

plotly/tests/test_optional/test_figure_factory.py

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -851,11 +851,10 @@ def test_trisurf_all_args(self):
851851
'rgb(31.0, 119.0, 180.0)',
852852
'rgb(145.0, 96.0, 143.0)',
853853
'rgb(29.0, 190.0, 201.0)'],
854-
dtype='|S23'
855854
),
856-
'i': np.array([3, 1, 1, 5, 7, 3, 5, 7], dtype='int32'),
857-
'j': np.array([1, 3, 5, 1, 3, 7, 7, 5], dtype='int32'),
858-
'k': np.array([4, 0, 4, 2, 4, 6, 4, 8], dtype='int32'),
855+
'i': np.array([3, 1, 1, 5, 7, 3, 5, 7]),
856+
'j': np.array([1, 3, 5, 1, 3, 7, 7, 5]),
857+
'k': np.array([4, 0, 4, 2, 4, 6, 4, 8]),
859858
'name': '',
860859
'type': 'mesh3d',
861860
'x': np.array([-1., 0., 1., -1., 0., 1.,
@@ -872,19 +871,19 @@ def test_trisurf_all_args(self):
872871
None, 1.0, 0.0, 1.0, 1.0, None, 0.0,
873872
-1.0, 0.0, 0.0, None, -1.0, 0.0, -1.0,
874873
-1.0, None, 1.0, 0.0, 0.0, 1.0, None,
875-
0.0, 1.0, 1.0, 0.0, None], dtype=object),
874+
0.0, 1.0, 1.0, 0.0, None]),
876875
'y': np.array([0.0, -1.0, 0.0, 0.0, None, -1.0, 0.0,
877876
-1.0, -1.0, None, -1.0, 0.0, 0.0, -1.0,
878877
None, 0.0, -1.0, -1.0, 0.0, None, 1.0,
879878
0.0, 0.0, 1.0, None, 0.0, 1.0, 1.0, 0.0,
880879
None, 0.0, 1.0, 0.0, 0.0, None, 1.0, 0.0,
881-
1.0, 1.0, None], dtype=object),
880+
1.0, 1.0, None]),
882881
'z': np.array([-0.0, -0.0, 0.0, -0.0, None, -0.0, -0.0,
883882
1.0, -0.0, None, -0.0, 0.0, 0.0, -0.0,
884883
None, 0.0, -0.0, -1.0, 0.0, None, 0.0,
885884
-0.0, 0.0, 0.0, None, -0.0, 0.0, -1.0,
886885
-0.0, None, 0.0, 0.0, 0.0, 0.0, None,
887-
0.0, 0.0, 1.0, 0.0, None], dtype=object)},
886+
0.0, 0.0, 1.0, 0.0, None])},
888887
{'colorscale': [[0.0, 'rgb(31.0, 119.0, 180.0)'],
889888
[0.1111111111111111, 'rgb(255.0, 127.0, 14.0)'],
890889
[0.2222222222222222, 'rgb(44.0, 160.0, 44.0)'],

0 commit comments

Comments
 (0)