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

Skip to content

Commit 1daf31e

Browse files
committed
Added np. to array
1 parent d24fcef commit 1daf31e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

plotly/tests/test_optional/test_figure_factory.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -659,10 +659,10 @@ def test_trisurf_all_args(self):
659659
'k': [4, 0, 4, 2, 4, 6, 4, 8],
660660
'name': '',
661661
'type': 'mesh3d',
662-
'x': array([-1., 0., 1., -1., 0., 1., -1., 0., 1.]),
663-
'y': array([-0.54030231, 0. , 0.54030231, -1. , 0. ,
662+
'x': np.array([-1., 0., 1., -1., 0., 1., -1., 0., 1.]),
663+
'y': np.array([-0.54030231, 0. , 0.54030231, -1. , 0. ,
664664
1. , -0.54030231, 0. , 0.54030231]),
665-
'z': array([ 0.84147098, -0. , -0.84147098, -0. , 0. ,
665+
'z': np.array([ 0.84147098, -0. , -0.84147098, -0. , 0. ,
666666
0. , -0.84147098, 0. , 0.84147098])},
667667
{'line': {'color': 'rgb(50, 50, 50)', 'width': 1.5},
668668
'mode': 'lines',

0 commit comments

Comments
 (0)