Skip to content

Commit 46f4a20

Browse files
committed
add comment about plotly.py in isLinkedToArray plot schema test
1 parent 1042f4f commit 46f4a20

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/plot_api/plot_schema.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,6 @@ function getLayoutAttributes() {
134134
handleLinkedToArray(layoutAttributes);
135135

136136
plotSchema.layout = { layoutAttributes: layoutAttributes };
137-
138-
139137
}
140138

141139
function getDefs() {

test/jasmine/tests/plotschema_test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ describe('plot schema', function() {
130130
var itemsObj = np.get().items,
131131
itemObj = itemsObj[itemName];
132132

133+
// N.B. the specs below must be satisfied for plotly.py
133134
expect(isPlainObject(itemsObj)).toBe(true);
134135
expect(itemsObj.role).toBeUndefined();
135136
expect(Object.keys(itemsObj).length).toEqual(1);

0 commit comments

Comments
 (0)