[ase-users] showing bonds in "plot_atoms" / ase.view

Roman Kempt roman.kempt at tu-dresden.de
Mon Apr 26 12:06:05 CEST 2021


Hi all,

Is it at all possible to plot bonds directly with a call to `ase.visualize.view` or to `ase.visualize.plot.plot_atoms`?
E.g.,

```
from ase.visualize import view
from ase.visualize.plot import plot_atoms

plot_atoms(atoms, show_bonds=True)
```

I couldn't find a reference to that anywhere, even though it is possible to show the bonds with the GUI.

Best,
Roman



Roman Kempt

Technische Universität Dresden

Bergstr. 66c, 01062, Dresden, Germany
Tel.: (+49) (351) 463 34467

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.fysik.dtu.dk/pipermail/ase-users/attachments/20210426/da157bb5/attachment.htm>


More information about the ase-users mailing list