Commit 8ef90930 authored by LANORE Vincent's avatar LANORE Vincent
Browse files

Improved bin size in distance distribution plot.

parent 526093fe
...@@ -159,7 +159,8 @@ while min(map(lambda b: b.shape[0], pair_bins)) < binsize: ...@@ -159,7 +159,8 @@ while min(map(lambda b: b.shape[0], pair_bins)) < binsize:
MESSAGE("Post-treatment of pair bins...") MESSAGE("Post-treatment of pair bins...")
for i in range(nb_bins): for i in range(nb_bins):
pair_bins[i].sort_values(by=["distance"]) pair_bins[i].sort_values(by=["distance"])
pair_bins[i]["distance"].hist(bins = 40) plot_bins = int(float(pair_bins[i]["distance"].max() - pair_bins[i]["distance"].min()) / 0.01)
pair_bins[i]["distance"].hist(bins = plot_bins)
if showplot: if showplot:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment