diff --git a/dataoverview.py b/dataoverview.py index 3b20d42..b3a53eb 100644 --- a/dataoverview.py +++ b/dataoverview.py @@ -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): diff --git a/punitexamplecell.py b/punitexamplecell.py index 72c03f4..70a0076 100644 --- a/punitexamplecell.py +++ b/punitexamplecell.py @@ -181,7 +181,7 @@ def plot_diagonals(ax, s, fbase, contrast1, freqs1, chi21, sis.append(sinorm) sips.append(sip) sifs.append(sif) - print(f' SI at {100*contrast:.1f}% contrast: {sinorm:.2f}') + print(f' SI at {100*contrast:4.1f}% contrast: {sinorm:.2f}') ax.plot(diags[1][0], 1e-4*diags[1][1], **s.lsC2) ax.plot(diags[0][0], 1e-4*diags[0][1], **s.lsC1) offs = 0.05*ymax