Skip to content

Commit b051e06

Browse files
authored
Merge pull request #271 from GenevieveBuckley/fix-traitlets-deprecation-warning
Update pythreejs.py to silence traitlets warning
2 parents df79c60 + 5dd8eb3 commit b051e06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythreejs/pythreejs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class SurfaceGeometry(BufferGeometry):
5353
"""
5454
A regular grid with heights
5555
"""
56-
z = List(CFloat, [0] * 100)
56+
z = List(CFloat(), [0] * 100)
5757
width = CInt(10)
5858
height = CInt(10)
5959
width_segments = CInt(10, read_only=True)

0 commit comments

Comments
 (0)