8000 Fix dot_color by BruceSherwood · Pull Request #260 · vpython/vpython-jupyter · GitHub
[go: up one dir, main page]

Skip to content

Fix dot_color #260

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions vpython/vpython.py
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,11 @@ class standardAttributes(baseObj):
'make_trail', 'trail_type', 'interval',
'retain', 'trail_color', 'trail_radius', 'texture', 'pickable'],
['red', 'green', 'blue','length', 'width', 'height']],
'group':[['pos', 'color', 'trail_color'],
['axis', 'size', 'up'],
['visible', 'make_trail', 'trail_type', 'interval',
'retain', 'trail_color', 'trail_radius'],
['red', 'green', 'blue','length', 'width', 'height']],
'sphere':[['pos', 'color', 'trail_color'],
['axis', 'size', 'up'],
['visible', 'opacity','shininess', 'emissive',
Expand Down
2 changes: 1 addition & 1 deletion vpython/vpython_libraries/glow.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion vpython/vpython_libraries/glowcomm.html
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@
'u':'logx', 'v':'logy', 'w':'dot', 'x':'dot_radius',
'y':'markers', 'z':'legend', 'A':'label','B':'delta', 'C':'marker_color',
'D':'size_units', 'E':'userpan', 'F':'scroll', 'G':'choices', 'H':'depth', 'I':'round',
'J':'name', 'K':'offset', 'L':'attach_idx','M':'ccw'
'J':'name', 'K':'offset', 'L':'attach_idx','M':'ccw', 'N':'dot_color'
}

// methods are X in {'m': '23X....'}
Expand Down
2 changes: 1 addition & 1 deletion vpython/vpython_libraries/glowcomm.js
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ var attrsb = {'a':'userzoom', 'b':'userspin', 'c':'range', 'd':'autoscale', 'e':
'u':'logx', 'v':'logy', 'w':'dot', 'x':'dot_radius',
'y':'markers', 'z':'legend', 'A':'label','B':'delta', 'C':'marker_color',
'D':'size_units', 'E':'userpan', 'F':'scroll', 'G':'choices', 'H':'depth', 'I':'round',
'J':'name', 'K':'offset', 'L':'attach_idx','M':'ccw'
'J':'name', 'K':'offset', 'L':'attach_idx', 'M':'ccw', 'N':'dot_color'
}

// methods are X in {'m': '23X....'}
Expand Down
0