Skip to content

Commit 3648744

Browse files
committed
add 'mapbox' to layout attributes
1 parent 3968417 commit 3648744

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/plots/layout_attributes.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ module.exports = {
187187
'annotations': 'Annotations',
188188
'shapes': 'Shapes',
189189
'images': 'Images',
190-
'ternary': 'ternary'
190+
'ternary': 'ternary',
191+
'mapbox': 'mapbox'
191192
}
192193
};

test/jasmine/tests/plotschema_test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ describe('plot schema', function() {
9191

9292
it('all subplot objects should contain _isSubplotObj', function() {
9393
var IS_SUBPLOT_OBJ = '_isSubplotObj',
94-
astrs = ['xaxis', 'yaxis', 'scene', 'geo', 'ternary'],
94+
astrs = ['xaxis', 'yaxis', 'scene', 'geo', 'ternary', 'mapbox'],
9595
list = [];
9696

9797
// check if the subplot objects have '_isSubplotObj'

0 commit comments

Comments
 (0)