default color map

This commit is contained in:
2025-05-16 17:06:54 +02:00
parent 21fb68d81b
commit 26c0fc4aae
8 changed files with 86 additions and 6 deletions

View File

@@ -94,7 +94,7 @@ def plot_chi2(ax, s, contrast, freqs, chi2, fcutoff, vmax):
if vmax is None:
vmax = np.quantile(1e-3*chi2, 0.99)
pc = ax.pcolormesh(freqs, freqs, 1e-3*chi2, vmin=0, vmax=vmax,
cmap='viridis', rasterized=True, zorder=10)
rasterized=True, zorder=10)
ax.set_xlim(0, fcutoff)
ax.set_ylim(0, fcutoff)
df = 100 if fcutoff == 300 else 50
@@ -220,3 +220,4 @@ if __name__ == '__main__':
fig.tag(axs, xoffs=-3, yoffs=2)
fig.savefig()
print()