Skip to content

Commit

Permalink
scattermapbox
Browse files Browse the repository at this point in the history
  • Loading branch information
archmoj committed Apr 11, 2024
1 parent f4bc74e commit 2c39a8e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/traces/scattermapbox/defaults.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,10 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
handleTextDefaults(traceIn, traceOut, layout, coerce,
{noSelect: true,
font: {
weight: layout.font.weight,
style: layout.font.style,
stretch: layout.font.stretch,
variant: layout.font.variant,
family: supportedFonts.indexOf(layout.font.family) !== -1 ? layout.font.family : 'Open Sans Regular',
size: layout.font.size,
color: layout.font.color
Expand Down

0 comments on commit 2c39a8e

Please sign in to comment.