From f358987efae922b69152150e681ef151a8d5dc42 Mon Sep 17 00:00:00 2001 From: Vesna Tanko Date: Mon, 6 Jul 2020 09:49:04 +0200 Subject: [PATCH] test_report: Fix falling import --- Orange/widgets/visualize/owboxplot.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/Orange/widgets/visualize/owboxplot.py b/Orange/widgets/visualize/owboxplot.py index 558179b325f..5c57f641c16 100644 --- a/Orange/widgets/visualize/owboxplot.py +++ b/Orange/widgets/visualize/owboxplot.py @@ -174,17 +174,16 @@ class Warning(widget.OWWidget.Warning): _pen_axis_tick.setCapStyle(Qt.FlatCap) _box_brush = QBrush(QColor(0x33, 0x88, 0xff, 0xc0)) - - _axis_font = QFont() - _axis_font.setPixelSize(12) - _label_font = QFont() - _label_font.setPixelSize(11) - _attr_brush = QBrush(QColor(0x33, 0x00, 0xff)) + _attr_brush = QBrush(QColor(0x33, 0x00, 0xff)) graph_name = "box_scene" def __init__(self): super().__init__() + self._axis_font = QFont() + self._axis_font.setPixelSize(12) + self._label_font = QFont() + self._label_font.setPixelSize(11) self.dataset = None self.stats = [] self.dist = self.conts = None