Skip to content

Commit

Permalink
Merge pull request #4362 from plotly/legend-bgcolor-default-description
Browse files Browse the repository at this point in the history
Mention legend.bgcolor default in documentation
  • Loading branch information
archmoj authored Nov 18, 2019
2 parents ffa0f65 + 93a390f commit 8951847
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/legend/attributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ module.exports = {
valType: 'color',
role: 'style',
editType: 'legend',
description: 'Sets the legend background color.'
description: [
'Sets the legend background color.',
'Defaults to `layout.paper_bgcolor`.'
].join(' ')
},
bordercolor: {
valType: 'color',
Expand Down

0 comments on commit 8951847

Please sign in to comment.