File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments