molecool.bond_histogram

molecool.bond_histogram(bond_list, save_location=None, dpi=300, graph_min=0, graph_max=2)[source]

Draw a histogram of bonds lengths in a molecule.

Parameters
  • bond_list (dict) – Bonds to draw. Bonds should be indicated in a dictionary where the indices of bonded atoms are given as the keys of the dictionary. The default is None - no bonds are drawn.

  • save_location (str, (optional)) – The location to save the image

  • dpi (int, (optional)) – The resolution of the saved image