From 678bc610863041e0d84c273849b5622d002d6ef8 Mon Sep 17 00:00:00 2001 From: Richard Hudson Date: Wed, 29 Dec 2021 09:21:23 +0100 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Sofie Van Landeghem --- spacy/visualization.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/visualization.py b/spacy/visualization.py index 91148b7f6..98f440b9d 100644 --- a/spacy/visualization.py +++ b/spacy/visualization.py @@ -97,7 +97,7 @@ class AttributeFormat: render_all_colors_within_values: when rendering a table, self.fg_color and self.bg_color are rendered in Wasabi. This argument is set to True when rendering a text to signal that colors should be rendered here. whole_row_fg_color: a foreground color used for the whole row. This takes precedence over value_dependent_fg_colors. - whole_row_bg_color: a background color used for the whole row. This takes precedence over value_dependent_fg_colors. + whole_row_bg_color: a background color used for the whole row. This takes precedence over value_dependent_bg_colors. """ obj = token parts = self.attribute.split(".")