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 @@ -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
You can’t perform that action at this time.
0 commit comments