Skip to content

Commit

Permalink
Final Change. Fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
amit-chaudhari1 committed May 1, 2021
1 parent 72a8cf0 commit 051ef0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fury/actor.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ def surface(vertices, faces=None, colors=None, smooth=None, subdivision=3):

if colors is not None:
triangle_poly_data.GetPointData().\
SetScalars(numpy_support.numpy_to_vtk_colors(255 * colors))
SetScalars(numpy_to_vtk_colors(colors))

if faces is None:
tri = Delaunay(vertices[:, [0, 1]])
Expand Down

0 comments on commit 051ef0e

Please sign in to comment.