diff --git a/vedo/grids.py b/vedo/grids.py index 441ddbd8..9ced1140 100644 --- a/vedo/grids.py +++ b/vedo/grids.py @@ -279,7 +279,7 @@ def __str__(self): out += "nr. of verts".ljust(14) + ": " + str(self.npoints) + "\n" out += "nr. of cells".ljust(14) + ": " + str(self.ncells) + "\n" ct_arr = np.unique(self.cell_types_array) - cnames = [k for k, v in cell_types.items() if v in ct_arr] + cnames = [k for k, v in vtki.cell_types.items() if v in ct_arr] out += "cell types".ljust(14) + ": " + str(cnames) + "\n" if self.npoints: