8000 other use of `font` - thanks Étienne for the catch! · plotly/plotly.js@61bc258 · GitHub
[go: up one dir, main page]

Skip to content

Commit 61bc258

Browse files
committed
other use of font - thanks Étienne for the catch!
1 parent 6075d86 commit 61bc258

File tree

1 file changed

+1
-31
lines changed

1 file changed

+1
-31
lines changed

src/traces/table/attributes.js

Lines changed: 1 addition & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -214,36 +214,6 @@ module.exports = overrideAll({
214214
}
215215
},
216216

217-
font: {
218-
family: {
219-
valType: 'string',
220-
arrayOk: true,
221-
role: 'style',
222-
noBlank: true,
223-
strict: true,
224-
description: [
225-
'HTML font family - the typeface that will be applied by the web browser.',
226-
'The web browser will only be able to apply a font if it is available on the system',
227-
'which it operates. Provide multiple font families, separated by commas, to indicate',
228-
'the preference in which to apply fonts if they aren\'t available on the system.',
229-
'The plotly service (at https://plot.ly or on-premise) generates images on a server,',
230-
'where only a select number of',
231-
'fonts are installed and supported.',
232-
'These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*,',
233-
'*Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*,',
234-
'*PT Sans Narrow*, *Raleway*, *Times New Roman*.'
235-
].join(' ')
236-
},
237-
size: {
238-
valType: 'number',
239-
arrayOk: true,
240-
role: 'style'
241-
},
242-
color: {
243-
valType: 'color',
244-
arrayOk: true,
245-
role: 'style'
246-
}
247-
}
217+
font: extendFlat({}, fontAttrs({arrayOk: true}))
248218
}
249219
}, 'calc', 'from-root');

0 commit comments

Comments
 (0)
0