From b483687513df9a5963fb738d8142c9610aa6cd00 Mon Sep 17 00:00:00 2001 From: Lennart Regebro Date: Mon, 20 Mar 2023 17:14:28 +0100 Subject: [PATCH] Accept None for label box colors Closes #88 --- src/z3c/rml/chart.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/z3c/rml/chart.py b/src/z3c/rml/chart.py index 3110eee..2182039 100644 --- a/src/z3c/rml/chart.py +++ b/src/z3c/rml/chart.py @@ -293,6 +293,7 @@ class ILabelBase(interfaces.IRMLDirectiveSignature): boxStrokeColor = attr.Color( title='Box Stroke Color', description=('The color of the box border line.'), + acceptNone=True, required=False) boxStrokeWidth = attr.Measurement( @@ -303,6 +304,7 @@ class ILabelBase(interfaces.IRMLDirectiveSignature): boxFillColor = attr.Color( title='Box Fill Color', description=('The color in which the box is filled.'), + acceptNone=True, required=False) boxTarget = attr.Text(