Skip to content

Commit 3bc3aa2

Browse files
committed
Improve comment in bar/defaults.js [2951]
1 parent 2b3a78b commit 3bc3aa2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/traces/bar/defaults.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
4949

5050
// Note that coercing `insidetextfont` is always needed –
5151
// even if `textposition` is `outside` for each trace – since
52-
// an outside label can become an inside one, e.g. because
53-
// bar is stacked on top of it.
52+
// an outside label can become an inside one, for example because
53+
// of a bar being stacked on top of it.
5454
var insideTextFontDefault = Lib.extendFlat({}, textFont);
5555
var isTraceTextfontColorSet = traceIn.textfont && traceIn.textfont.color;
5656
var isColorInheritedFromLayoutFont = !isTraceTextfontColorSet;

0 commit comments

Comments
 (0)