Skip to content

Commit

Permalink
Test printing z before it undergoes max()
Browse files Browse the repository at this point in the history
  • Loading branch information
GarethCabournDavies committed Dec 19, 2024
1 parent 3f53cfa commit 8755057
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/plotting/pycbc_plot_singles_vs_params
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ elif opts.z_var in ranking.sngls_ranking_function_dict:
max_z = z.max() if opts.max_z is None else opts.max_z
if max_z / min_z > 10:
cb_style['ticks'] = LogLocator(subs=range(10))
print(z)
hb = ax.hexbin(x, y, C=z, reduce_C_function=np.max, **hexbin_style)
fig.colorbar(hb, **cb_style)
else:
Expand Down

0 comments on commit 8755057

Please sign in to comment.