Skip to content

Commit

Permalink
Merge pull request #6555 from plotly/fix-6507
Browse files Browse the repository at this point in the history
fix-6507 fixed colorbar.showticklabels: false
  • Loading branch information
archmoj authored Apr 17, 2023
2 parents 3366e95 + d2ed6f3 commit 7d62c0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/colorbar/defaults.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ module.exports = function colorbarDefaults(containerIn, containerOut, layout) {

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

var tickFont = colorbarOut.tickfont;
var tickFont = colorbarOut.showticklabels ? colorbarOut.tickfont : font;
var dfltTitleFont = Lib.extendFlat({}, tickFont, {
color: font.color,
size: Lib.bigFont(tickFont.size)
Expand Down

0 comments on commit 7d62c0c

Please sign in to comment.