forked from plotly/plotly.py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_scene.py
66 lines (62 loc) · 2.67 KB
/
_scene.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
import _plotly_utils.basevalidators
class SceneValidator(_plotly_utils.basevalidators.CompoundValidator):
def __init__(self, plotly_name='scene', parent_name='layout', **kwargs):
super(SceneValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_name,
data_class_str=kwargs.pop('data_class_str', 'Scene'),
data_docs=kwargs.pop(
'data_docs', """
annotations
plotly.graph_objs.layout.scene.Annotation
instance or dict with compatible properties
annotationdefaults
When used in a template (as layout.template.lay
out.scene.annotationdefaults), sets the default
property values to use for elements of
layout.scene.annotations
aspectmode
If "cube", this scene's axes are drawn as a
cube, regardless of the axes' ranges. If
"data", this scene's axes are drawn in
proportion with the axes' ranges. If "manual",
this scene's axes are drawn in proportion with
the input of "aspectratio" (the default
behavior if "aspectratio" is provided). If
"auto", this scene's axes are drawn using the
results of "data" except when one axis is more
than four times the size of the two others,
where in that case the results of "cube" are
used.
aspectratio
Sets this scene's axis aspectratio.
bgcolor
camera
plotly.graph_objs.layout.scene.Camera instance
or dict with compatible properties
domain
plotly.graph_objs.layout.scene.Domain instance
or dict with compatible properties
dragmode
Determines the mode of drag interactions for
this scene.
hovermode
Determines the mode of hover interactions for
this scene.
uirevision
Controls persistence of user-driven changes in
camera attributes. Defaults to
`layout.uirevision`.
xaxis
plotly.graph_objs.layout.scene.XAxis instance
or dict with compatible properties
yaxis
plotly.graph_objs.layout.scene.YAxis instance
or dict with compatible properties
zaxis
plotly.graph_objs.layout.scene.ZAxis instance
or dict with compatible properties
"""
),
**kwargs
)