Skip to content

Commit 7d62c0c

Browse files
authored
Merge pull request #6555 from plotly/fix-6507
fix-6507 fixed colorbar.showticklabels: false
2 parents 3366e95 + d2ed6f3 commit 7d62c0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/colorbar/defaults.js

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

8383
coerce('title.text', layout._dfltTitle.colorbar);
8484

85-
var tickFont = colorbarOut.tickfont;
85+
var tickFont = colorbarOut.showticklabels ? colorbarOut.tickfont : font;
8686
var dfltTitleFont = Lib.extendFlat({}, tickFont, {
8787
color: font.color,
8888
size: Lib.bigFont(tickFont.size)

0 commit comments

Comments
 (0)