From ab505296c28dce2f6c3711b26affb2db47b4fb45 Mon Sep 17 00:00:00 2001 From: Gaurav Harsha Date: Thu, 29 Aug 2024 14:49:32 -0400 Subject: [PATCH] fix minor issue with plotting in wannier fock example --- examples/wannier_fock.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/wannier_fock.py b/examples/wannier_fock.py index 05fa2c2..9aae041 100644 --- a/examples/wannier_fock.py +++ b/examples/wannier_fock.py @@ -192,7 +192,8 @@ plt.xticks(sp_points, labels) # x-limit -plt.xlim([-10, 10]) +plt.xlim([kpath[0], kpath[-1]]) +plt.ylim([-10, 10]) # save plt.savefig(