@@ -72,55 +72,55 @@ def get_graph_reference():
72
72
73
73
# TODO: Patch in frames info until it hits streambed. See #659
74
74
graph_reference ['frames' ] = {
75
- "items" : {
76
- "frames_entry" : {
77
- "baseframe" : {
78
- "description" : "The name of the frame into which this "
79
- "frame's properties are merged before "
80
- "applying. This is used to unify "
81
- "properties and avoid needing to specify "
82
- "the same values for the same properties "
83
- "in multiple frames." ,
84
- "role" : "info" ,
85
- "valType" : "string"
86
- },
87
- "data" : {
88
- "description" : "A list of traces this frame modifies. "
89
- "The format is identical to the normal "
90
- "trace definition." ,
91
- "role" : "object" ,
92
- "valType" : "any"
93
- },
94
- "group" : {
95
- "description" : "An identifier that specifies the group "
96
- "to which the frame belongs, used by "
97
- "animate to select a subset of frames." ,
98
- "role" : "info" ,
99
- "valType" : "string"
100
- },
101
- "layout" : {
102
- "role" : "object" ,
103
- "description" : "Layout properties which this frame "
104
- "modifies. The format is identical to "
105
- "the normal layout definition." ,
106
- "valType" : "any"
107
- },
108
- "name" : {
109
- "description" : "A label by which to identify the frame" ,
110
- "role" : "info" ,
111
- "valType" : "string"
112
- },
113
- "role" : "object" ,
114
- "traces" : {
115
- "description" : "A list of trace indices that identify "
116
- "the respective traces in the data "
117
- "attribute" ,
118
- "role" : "info" ,
119
- "valType" : "info_array"
120
- }
121
- }
122
- },
123
- "role" : "object"
75
+ "items" : {
76
+ "frames_entry" : {
77
+ "baseframe" : {
78
+ "description" : "The name of the frame into which this "
79
+ "frame's properties are merged before "
80
+ "applying. This is used to unify "
81
+ "properties and avoid needing to specify "
82
+ "the same values for the same properties "
83
+ "in multiple frames." ,
84
+ "role" : "info" ,
85
+ "valType" : "string"
86
+ },
87
+ "data" : {
88
+ "description" : "A list of traces this frame modifies. "
89
+ "The format is identical to the normal "
90
+ "trace definition." ,
91
+ "role" : "object" ,
92
+ "valType" : "any"
93
+ },
94
+ "group" : {
95
+ "description" : "An identifier that specifies the group "
96
+ "to which the frame belongs, used by "
97
+ "animate to select a subset of frames." ,
98
+ "role" : "info" ,
99
+ "valType" : "string"
100
+ },
101
+ "layout" : {
102
+ "role" : "object" ,
103
+ "description" : "Layout properties which this frame "
104
+ "modifies. The format is identical to "
105
+ "the normal layout definition." ,
106
+ "valType" : "any"
107
+ },
108
+ "name" : {
109
+ "description" : "A label by which to identify the frame" ,
110
+ "role" : "info" ,
111
+ "valType" : "string"
112
+ },
113
+ "role" : "object" ,
114
+ "traces" : {
115
+ "description" : "A list of trace indices that identify "
116
+ "the respective traces in the data "
117
+ "attribute" ,
118
+ "role" : "info" ,
119
+ "valType" : "info_array"
120
+ }
121
+ }
122
+ },
123
+ "role" : "object"
124
124
}
125
125
126
126
return graph_reference
@@ -223,7 +223,7 @@ def get_attributes_dicts(object_name, parent_object_names=()):
223
223
# We return a dict mapping paths to attributes. We also add in additional
224
224
# attributes if defined.
225
225
attributes_dicts = {path : utils .get_by_path (GRAPH_REFERENCE , path )
226
- for path in attribute_paths }
226
+ for path in attribute_paths }
227
227
attributes_dicts ['additional_attributes' ] = additional_attributes
228
228
229
229
return attributes_dicts
0 commit comments