Skip to content

Commit 7640e3e

Browse files
committed
feat: remove detailed description of font options and regenerate schema
Removing this text here ensures it won't be present when plotly.py code is generated, which reduces bundle size.
1 parent 92a6bfa commit 7640e3e

File tree

2 files changed

+284
-290
lines changed

2 files changed

+284
-290
lines changed

src/plots/font_attributes.js

+3-9
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,9 @@ module.exports = function(opts) {
4949
editType: editType,
5050
description: [
5151
'HTML font family - the typeface that will be applied by the web browser.',
52-
'The web browser will only be able to apply a font if it is available on the system',
53-
'which it operates. Provide multiple font families, separated by commas, to indicate',
54-
'the preference in which to apply fonts if they aren\'t available on the system.',
55-
'The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server,',
56-
'where only a select number of',
57-
'fonts are installed and supported.',
58-
'These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*,',
59-
'*Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*,',
60-
'*PT Sans Narrow*, *Raleway*, *Times New Roman*.'
52+
'The web browser can only apply a font if it is available on the system where',
53+
'it runs. Provide multiple font families, separated by commas, to indicate',
54+
'the order in which to apply fonts if they aren\'t available.',
6155
].join(' ')
6256
},
6357
size: {

0 commit comments

Comments
 (0)