Skip to content

Commit

Permalink
[plots.compare_groups_of_contacts] use bins="auto" for distros
Browse files Browse the repository at this point in the history
  • Loading branch information
gph82 committed May 13, 2024
1 parent 1560a67 commit c6302f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mdciao/plots/plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -885,7 +885,7 @@ def compare_groups_of_contacts(groups,
if distro:
idict = ifile.distribution_dicts(AA_format=AA_format,
split_label=False,
bins=_np.max([20, (_np.sqrt(ifile.n_frames_total) / 2).round().astype(int)]))
bins="auto")
else:
assert ctc_cutoff_Ang is not None, "Cannot provide a ContatGroup object without a `ctc_cutoff_Ang` parameter"
if not interface:
Expand Down

0 comments on commit c6302f0

Please sign in to comment.