Skip to content

Commit f94e736

Browse files
committed
OWSieve: Fix labels overlap
1 parent 0f24ca0 commit f94e736

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Orange/widgets/visualize/owsieve.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ def _oper(attr, txt):
426426
max_ylabel_w = min(max_ylabel_w, 200)
427427
x_off = width(attr_x.name) + max_ylabel_w
428428
y_off = 15
429-
square_size = min(view.width() - x_off - 35, view.height() - y_off - 50)
429+
square_size = min(view.width() - x_off - 35, view.height() - y_off - 80)
430430
square_size = max(square_size, 10)
431431
self.canvasView.setSceneRect(0, 0, view.width(), view.height())
432432

@@ -484,6 +484,7 @@ def _oper(attr, txt):
484484
Qt.AlignLeft | Qt.AlignVCenter, bold=True, vertical=True)
485485
text(attr_x.name, x_off + square_size / 2, bottom,
486486
Qt.AlignHCenter | Qt.AlignTop, bold=True)
487+
bottom += 30
487488
xl = text("χ²={:.2f}, p={:.3f}".format(chi.chisq, chi.p),
488489
0, bottom)
489490
# Assume similar height for both lines

0 commit comments

Comments
 (0)