small fixes
This commit is contained in:
@@ -124,7 +124,7 @@ def plot_corr(ax, data, xcol, ycol, zcol, zmin, zmax, xpdfmax, cmap, color,
|
||||
if 'cvbase' in xcol:
|
||||
ax.text(1, 0.64, f'$n={data.rows()}$', ha='right',
|
||||
transform=ax.transAxes, fontsize='small')
|
||||
print(f' correlation {xcol:<8s} - {ycol}: r={r:5.2f}, p={p:.2e}')
|
||||
print(f' correlation {xcol:<11s} - {ycol:<11s}: r={r:5.2f}, p={p:.2e}')
|
||||
return cax
|
||||
|
||||
|
||||
@@ -221,7 +221,7 @@ def plot_corr_contrast(ax, data, xcol, ycol, xpdfmax, color,
|
||||
if 'cvbase' in xcol:
|
||||
ax.text(1, 0.64, f'$n={data.rows()}$', ha='right',
|
||||
transform=ax.transAxes, fontsize='small')
|
||||
print(f' correlation {xcol:<8s} - {ycol}: r={r:5.2f}, p={p:.2e}')
|
||||
print(f' correlation {xcol:<11s} - {ycol:<11s}: r={r:5.2f}, p={p:.2e}')
|
||||
|
||||
|
||||
def si_stats(title, data, sicol, si_thresh, nsegscol):
|
||||
|
||||
Reference in New Issue
Block a user