@@ -66,9 +66,9 @@ def prism(
6666 y_poly = np .sin (arr ) * radius
6767 x_poly = np .zeros (n_sides )
6868
69- x_array = np .concat ([x_poly , x_poly + height ])
70- y_array = np .concat ([y_poly , y_poly ])
71- z_array = np .concat ([z_poly , z_poly ])
69+ x_array = np .concatenate ([x_poly , x_poly + height ])
70+ y_array = np .concatenate ([y_poly , y_poly ])
71+ z_array = np .concatenate ([z_poly , z_poly ])
7272
7373 x_array , y_array , z_array = apply_transformations (x_array , y_array , z_array , center , direction )
7474
@@ -100,9 +100,9 @@ def cone(
100100 y_poly = np .sin (arr ) * radius
101101 x_poly = np .zeros (resolution )
102102
103- z_array = np .concat ([z_poly , np .array ([0 ])])
104- y_array = np .concat ([y_poly , np .array ([0 ])])
105- x_array = np .concat ([x_poly , np .array ([height ])])
103+ z_array = np .concatenate ([z_poly , np .array ([0 ])])
104+ y_array = np .concatenate ([y_poly , np .array ([0 ])])
105+ x_array = np .concatenate ([x_poly , np .array ([height ])])
106106
107107 x_array , y_array , z_array = apply_transformations (x_array , y_array , z_array , center , direction )
108108
@@ -221,7 +221,7 @@ def circular_arc_from_normal(
221221
222222 x_array , y_array , z_array = apply_transformations (x_array , y_array , z_array , center , normal )
223223
224- points = np .array ([x_array , y_array ]).T
224+ points = np .array ([x_array , y_array , z_array ]).T
225225 line_properties = dict (color = color , width = line_width )
226226 if return_points :
227227 return go .Scatter3d (
0 commit comments