Skip to content

update plot schema #491

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
May 30, 2016
Merged
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
80 changes: 80 additions & 0 deletions plotly/graph_reference/default-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -11230,20 +11230,31 @@
},
"lighting": {
"ambient": {
"description": "Ambient light increases overall color visibility but can wash out the image.",
"dflt": 0.8,
"max": 1,
"min": 0,
"role": "style",
"valType": "number"
},
"diffuse": {
"description": "Represents the extent that incident rays are reflected in a range of angles.",
"dflt": 0.8,
"max": 1,
"min": 0,
"role": "style",
"valType": "number"
},
"facenormalsepsilon": {
"description": "Epsilon for face normals calculation avoids math issues arising from degenerate geometry.",
"dflt": 1e-06,
"max": 1,
"min": 0,
"role": "style",
"valType": "number"
},
"fresnel": {
"description": "Represents the reflectance as a dependency of the viewing angle; e.g. paper is reflective when viewing it from the edge of the paper (almost 90 degrees), causing shine.",
"dflt": 0.2,
"max": 5,
"min": 0,
Expand All @@ -11252,18 +11263,55 @@
},
"role": "object",
"roughness": {
"description": "Alters specular reflection; the rougher the surface, the wider and less contrasty the shine.",
"dflt": 0.5,
"max": 1,
"min": 0,
"role": "style",
"valType": "number"
},
"specular": {
"description": "Represents the level that incident rays are reflected in a single direction, causing shine.",
"dflt": 0.05,
"max": 2,
"min": 0,
"role": "style",
"valType": "number"
},
"vertexnormalsepsilon": {
"description": "Epsilon for vertex normals calculation avoids math issues arising from degenerate geometry.",
"dflt": 1e-12,
"max": 1,
"min": 0,
"role": "style",
"valType": "number"
}
},
"lightposition": {
"role": "object",
"x": {
"description": "Numeric vector, representing the X coordinate for each vertex.",
"dflt": 100000,
"max": 100000,
"min": -100000,
"role": "style",
"valType": "number"
},
"y": {
"description": "Numeric vector, representing the Y coordinate for each vertex.",
"dflt": 100000,
"max": 100000,
"min": -100000,
"role": "style",
"valType": "number"
},
"z": {
"description": "Numeric vector, representing the Z coordinate for each vertex.",
"dflt": 0,
"max": 100000,
"min": -100000,
"role": "style",
"valType": "number"
}
},
"name": {
Expand Down Expand Up @@ -17937,20 +17985,23 @@
},
"lighting": {
"ambient": {
"description": "Ambient light increases overall color visibility but can wash out the image.",
"dflt": 0.8,
"max": 1,
"min": 0,
"role": "style",
"valType": "number"
},
"diffuse": {
"description": "Represents the extent that incident rays are reflected in a range of angles.",
"dflt": 0.8,
"max": 1,
"min": 0,
"role": "style",
"valType": "number"
},
"fresnel": {
"description": "Represents the reflectance as a dependency of the viewing angle; e.g. paper is reflective when viewing it from the edge of the paper (almost 90 degrees), causing shine.",
"dflt": 0.2,
"max": 5,
"min": 0,
Expand All @@ -17959,20 +18010,49 @@
},
"role": "object",
"roughness": {
"description": "Alters specular reflection; the rougher the surface, the wider and less contrasty the shine.",
"dflt": 0.5,
"max": 1,
"min": 0,
"role": "style",
"valType": "number"
},
"specular": {
"description": "Represents the level that incident rays are reflected in a single direction, causing shine.",
"dflt": 0.05,
"max": 2,
"min": 0,
"role": "style",
"valType": "number"
}
},
"lightposition": {
"role": "object",
"x": {
"description": "Numeric vector, representing the X coordinate for each vertex.",
"dflt": 10,
"max": 100000,
"min": -100000,
"role": "style",
"valType": "number"
},
"y": {
"description": "Numeric vector, representing the Y coordinate for each vertex.",
"dflt": 100000,
"max": 100000,
"min": -100000,
"role": "style",
"valType": "number"
},
"z": {
"description": "Numeric vector, representing the Z coordinate for each vertex.",
"dflt": 0,
"max": 100000,
"min": -100000,
"role": "style",
"valType": "number"
}
},
"name": {
"description": "Sets the trace name. The trace name appear as the legend item and on hover.",
"role": "info",
Expand Down