Skip to content

Commit

Permalink
fix minor issue with plotting in wannier fock example
Browse files Browse the repository at this point in the history
  • Loading branch information
gauravharsha committed Aug 29, 2024
1 parent 29d3980 commit ab50529
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/wannier_fock.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit ab50529

Please sign in to comment.