default color map
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user