We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1f7a6a commit 9cce768Copy full SHA for 9cce768
shelly/plotlyjs/static/plotlyjs/src/graph_obj.js
@@ -1590,6 +1590,9 @@ plots.fontAttrs = {
1590
}
1591
};
1592
1593
+// TODO make this a plot attribute?
1594
+plots.fontWeight = 'normal';
1595
+
1596
var extendFlat = Plotly.Lib.extendFlat;
1597
1598
plots.layoutAttributes = {
@@ -4259,7 +4262,8 @@ plots.titles = function(gd, title) {
4259
4262
'font-family': font,
4260
4263
'font-size': d3.round(fontSize,2)+'px',
4261
4264
fill: Plotly.Color.rgb(fontColor),
- opacity: opacity*Plotly.Color.opacity(fontColor)
4265
+ opacity: opacity*Plotly.Color.opacity(fontColor),
4266
+ 'font-weight': plots.fontWeight
4267
})
4268
.attr(options)
4269
.call(Plotly.util.convertToTspans)
0 commit comments