Skip to content

Commit 8951847

Browse files
authored
Merge pull request #4362 from plotly/legend-bgcolor-default-description
Mention legend.bgcolor default in documentation
2 parents ffa0f65 + 93a390f commit 8951847

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/components/legend/attributes.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@ module.exports = {
1717
valType: 'color',
1818
role: 'style',
1919
editType: 'legend',
20-
description: 'Sets the legend background color.'
20+
description: [
21+
'Sets the legend background color.',
22+
'Defaults to `layout.paper_bgcolor`.'
23+
].join(' ')
2124
},
2225
bordercolor: {
2326
valType: 'color',

0 commit comments

Comments
 (0)