Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
YHordijk authored Nov 13, 2023
1 parent fb236b1 commit 695932c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ To load and draw the HOMO:

```python
from yutility import orbitals
import tcviewer
from tcviewer import Screen, materials
import pathlib

rkf_dir = pathlib.Path(__file__).parents[0]/'data'/'NH3BH3'
Expand All @@ -56,6 +56,6 @@ homo = orbs.mos['HOMO']
# generate a cube file
cub = homo.generate_orbital()

with tcviewer.Screen() as scr:
scr.draw_cub(cub, 0.03, material=tcviewer.materials.orbital_matte)
with Screen() as scr:
scr.draw_cub(cub, 0.03, material=materials.orbital_matte)
```

0 comments on commit 695932c

Please sign in to comment.