From 93a390f94db8b145a67b87b910a13470a85fd783 Mon Sep 17 00:00:00 2001 From: archmoj Date: Mon, 18 Nov 2019 12:09:38 -0500 Subject: [PATCH] mention legend.bgcolor default in documentation --- src/components/legend/attributes.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/legend/attributes.js b/src/components/legend/attributes.js index 43e45b2faff..98c55bec6ad 100644 --- a/src/components/legend/attributes.js +++ b/src/components/legend/attributes.js @@ -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',