Skip to content
Snippets Groups Projects
Commit 21a6699f authored by Rachael Huxford's avatar Rachael Huxford
Browse files

Added patch for small template banks in gstlal_inspiral_plot_banks

parent 99073487
No related branches found
No related tags found
No related merge requests found
Pipeline #134243 failed
......@@ -110,7 +110,7 @@ def marker_and_size(n):
if n > 2000:
return "ko", (10000.0 / n)**0.7
else:
return "k.", None
return "k.", 5.
def create_plot(x_label = None, y_label = None, width = 165.0, aspect = golden_ratio):
fig = matplotlib.figure.Figure()
......@@ -134,6 +134,7 @@ def plot_template_bank(filename_template, sngl_inspiral_table):
fig, axes = create_plot(ax1, ax2, aspect = aspect)
mrkr, markersize = marker_and_size(len(col1))
print(mrkr, markersize)
axes.loglog(col1,col2, mrkr, markersize = markersize)
axes.set_xlim(min(col1), max(col1))
axes.set_ylim(min(col2), max(col2))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment