From 051ef0eacd25ed65704dd34001c4900633c857ab Mon Sep 17 00:00:00 2001 From: Amit Chaudhari Date: Sat, 1 May 2021 18:43:54 +0530 Subject: [PATCH] Final Change. Fixed. --- fury/actor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fury/actor.py b/fury/actor.py index fd3ae1d67..d1ea15bc9 100644 --- a/fury/actor.py +++ b/fury/actor.py @@ -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]])