Skip to content

Commit d1af60a

Browse files
Merge pull request #67 from avmarchenko/master
Fixed typo in Renderer and removed unused import
2 parents 76ab487 + e075e0d commit d1af60a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pythreejs/pythreejs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"""
1414

1515
from ipywidgets import Widget, DOMWidget, widget_serialization, Color
16-
from traitlets import (Unicode, Int, CInt, Instance, Enum, List, Dict, Float,
16+
from traitlets import (Unicode, CInt, Instance, Enum, List, Dict, Float,
1717
CFloat, Bool)
1818
from ._package import npm_pkg_name
1919
from math import pi, sqrt
@@ -766,7 +766,7 @@ class Renderer(DOMWidget):
766766
controls = List(Instance(Controls)).tag(sync=True, **widget_serialization)
767767
effect = Instance(Effect, allow_none=True).tag(sync=True, **widget_serialization)
768768
background = Color('black', allow_none=True).tag(sync=True)
769-
backgroud_opacity = Float(min=0.0, max=1.0).tag(sync=True)
769+
background_opacity = Float(min=0.0, max=1.0).tag(sync=True)
770770

771771

772772
class Light(Object3d):

0 commit comments

Comments
 (0)