Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dc5cb63

Browse files
committed
fix colorbar defaults bug and update tests
1 parent 3f99890 commit dc5cb63

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/colorbar/defaults.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ module.exports = function colorbarDefaults(containerIn, containerOut, layout) {
5353

5454
handleTickValueDefaults(colorbarIn, colorbarOut, coerce, 'linear');
5555

56-
handleTickLabelDefaults(colorbarIn, colorbarOut, coerce,
56+
handleTickLabelDefaults(colorbarIn, colorbarOut, coerce, 'linear',
5757
{outerTicks: false, font: layout.font, noHover: true});
5858

5959
handleTickMarkDefaults(colorbarIn, colorbarOut, coerce, 'linear',

test/jasmine/tests/plotschema_test.js

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

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

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

0 commit comments

Comments
 (0)