Skip to content

Commit c023d0d

Browse files
committed
OWSieve: Fix labels overlap
1 parent 34a0732 commit c023d0d

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
@@ -413,7 +413,7 @@ def _oper(attr, txt):
413413
max_ylabel_w = min(max_ylabel_w, 200)
414414
x_off = width(attr_x.name) + max_ylabel_w
415415
y_off = 15
416-
square_size = min(view.width() - x_off - 35, view.height() - y_off - 50)
416+
square_size = min(view.width() - x_off - 35, view.height() - y_off - 80)
417417
square_size = max(square_size, 10)
418418
self.canvasView.setSceneRect(0, 0, view.width(), view.height())
419419
if not disc_x.values or not disc_y.values:
@@ -465,6 +465,7 @@ def _oper(attr, txt):
465465
Qt.AlignLeft | Qt.AlignVCenter, bold=True, vertical=True)
466466
text(attr_x.name, x_off + square_size / 2, bottom,
467467
Qt.AlignHCenter | Qt.AlignTop, bold=True)
468+
bottom += 30
468469
xl = text("χ²={:.2f}, p={:.3f}".format(chi.chisq, chi.p),
469470
0, bottom)
470471
# Assume similar height for both lines

0 commit comments

Comments
 (0)