Skip to content

Commit c21e82d

Browse files
committed
Cleanup
1 parent d3341b4 commit c21e82d

File tree

4 files changed

+4
-10
lines changed

4 files changed

+4
-10
lines changed

js/scripts/templates/py_wrapper.mustache

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ class {{ className }}({{ superClass.className }}):
2424
Autogenerated by {{ generatorScriptName }}
2525
Date: {{ now }}
2626
{{#if isCustom}}
27-
This class is a custom class for pythreejs.
27+
This class is a custom class for pythreejs, with no
28+
direct corresponding class in three.js.
2829
{{else}}
2930
See {{ threejs_docs_url }}
3031
{{/if}}

pythreejs/core/Renderer.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
from traitlets import (
77
Unicode, CInt, Instance, Float, Tuple, Undefined, link)
88

9-
from ..enums import *
109
from ..traits import *
1110

1211
from .._base.renderable import RenderableWidget

pythreejs/pythreejs.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77
88
This is meant to be a low-level wrapper around three.js. We hope that others
99
will use this foundation to build higher-level interfaces to build 3d plots.
10-
11-
Another resource to understanding three.js decisions is the Udacity course on
12-
3d graphics using three.js: https://www.udacity.com/course/cs291
1310
"""
1411

1512
from __future__ import absolute_import

pythreejs/renderers/WebGLRenderer.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
1-
from ipywidgets import Widget, DOMWidget, widget_serialization, Color
2-
from traitlets import Unicode, Int, CInt, Enum, Instance, List, Float, CFloat, Bool, link
3-
4-
from ..enums import ToneMappings
1+
from ipywidgets import widget_serialization
2+
from traitlets import Unicode, CInt, link
53

64
from .._base.renderable import RenderableWidget
7-
from ..math.Plane_autogen import Plane
85

96
to_json = widget_serialization['to_json']
107
from_json = widget_serialization['from_json']

0 commit comments

Comments
 (0)