Skip to content

Fix label assignment in plot_skeaf function#65

Merged
edan-bainglass merged 2 commits into
aiidalab:mainfrom
npaulish:dhva_gui_bug_fix
May 22, 2026
Merged

Fix label assignment in plot_skeaf function#65
edan-bainglass merged 2 commits into
aiidalab:mainfrom
npaulish:dhva_gui_bug_fix

Conversation

@npaulish
Copy link
Copy Markdown
Collaborator

This pull request makes a minor fix to the plot_skeaf function in utils.py. The change ensures that the number of band labels matches the number of frequency points, preventing potential mismatches in the plot.

  • Fixed the extension of the labels list to use the length of freq instead of x, ensuring correct labeling for each frequency point in the scatter plot (src/aiidalab_qe_wannier90/result/utils.py).

Copy link
Copy Markdown
Member

@edan-bainglass edan-bainglass left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@edan-bainglass edan-bainglass merged commit 76f2ca0 into aiidalab:main May 22, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants