From 695932cb20ad37dd5bb126c35ae0c5f4017d6db0 Mon Sep 17 00:00:00 2001 From: Yuman Hordijk <42876712+YHordijk@users.noreply.github.com> Date: Mon, 13 Nov 2023 10:22:56 +0100 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3f3f8c6..aa2cda7 100644 --- a/README.md +++ b/README.md @@ -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' @@ -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) ```