Skip to content

Commit

Permalink
Merge branch 'main' into pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
  • Loading branch information
IAlibay authored Jul 3, 2024
2 parents b3b0fcf + 6aaf7e3 commit 2984b49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openfe/utils/visualization_3D.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def _add_spheres(view:py3Dmol.view, mol1:Chem.Mol, mol2:Chem.Mol, mapping:Dict[i
mapping of atoms from mol1 to mol2
"""
# Get colourmap of size mapping
cmap = plt.cm.get_cmap("hsv", len(mapping))
cmap = plt.get_cmap("hsv", len(mapping))
for i, pair in enumerate(mapping.items()):
p1 = mol1.GetConformer().GetAtomPosition(pair[0])
p2 = mol2.GetConformer().GetAtomPosition(pair[1])
Expand Down

0 comments on commit 2984b49

Please sign in to comment.