Skip to content

Commit a7341b9

Browse files
committed
make "Open Sans" (with two capital letters) standard
1 parent d06de72 commit a7341b9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/plots/layout_attributes.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ var extendFlat = Plotly.Lib.extendFlat;
1818
module.exports = {
1919
font: {
2020
family: extendFlat({}, fontAttrs.family, {
21-
dflt: '"Open sans", verdana, arial, sans-serif'
21+
dflt: '"Open Sans", verdana, arial, sans-serif'
2222
}),
2323
size: extendFlat({}, fontAttrs.size, {
2424
dflt: 12

src/plots/plots.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -288,8 +288,8 @@ plots.addLinks = function(gd) {
288288
linkContainer.enter().append('text')
289289
.classed('js-plot-link-container', true)
290290
.style({
291-
'font-family':'"Open Sans",Arial,sans-serif',
292-
'font-size':'12px',
291+
'font-family':'"Open Sans", Arial, sans-serif',
292+
'font-size': '12px',
293293
'fill': Plotly.Color.defaultLine,
294294
'pointer-events': 'all'
295295
})

0 commit comments

Comments
 (0)