Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
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.
  • Loading branch information
gvwilson committed Feb 25, 2025
commit 7640e3e5ec4f70239faf9bf1fa4542c926c64aff
12 changes: 3 additions & 9 deletions src/plots/font_attributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,9 @@ module.exports = function(opts) {
editType: editType,
description: [
'HTML font family - the typeface that will be applied by the web browser.',
'The web browser will only be able to apply a font if it is available on the system',
'which it operates. Provide multiple font families, separated by commas, to indicate',
'the preference in which to apply fonts if they aren\'t available on the system.',
'The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server,',
'where only a select number of',
'fonts are installed and supported.',
'These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*,',
'*Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*,',
'*PT Sans Narrow*, *Raleway*, *Times New Roman*.'
'The web browser can only apply a font if it is available on the system where',
'it runs. Provide multiple font families, separated by commas, to indicate',
'the order in which to apply fonts if they aren\'t available.',
].join(' ')
},
size: {
Expand Down
Loading