Skip to content

Fix skew "bandstructure" surface plotting in rotated frames#147

Open
Alphaharrius wants to merge 1 commit into
mainfrom
bugfix/bandstructure_zig_zag
Open

Fix skew "bandstructure" surface plotting in rotated frames#147
Alphaharrius wants to merge 1 commit into
mainfrom
bugfix/bandstructure_zig_zag

Conversation

@Alphaharrius
Copy link
Copy Markdown
Owner

See #144

Fix description

Use direct triangulation for skew/non-diagonal 2D k-meshes instead of forcing them through a rectangular reshape before plotting. This avoids striped patch artifacts in rotated-frame bandstructure surfaces while preserving the existing rectangular-surface path for axis-aligned meshes.

Also add regression coverage for skew 2D meshes in the plotting tests.

Use direct triangulation for skew/non-diagonal 2D k-meshes instead of
forcing them through a rectangular reshape before plotting. This avoids
striped patch artifacts in rotated-frame bandstructure surfaces while
preserving the existing rectangular-surface path for axis-aligned meshes.

Also add regression coverage for skew 2D meshes in the plotting tests.
@Alphaharrius Alphaharrius added this to the v0.2.1-qten-plots milestone May 11, 2026
@Alphaharrius Alphaharrius requested a review from eyjafjallac May 11, 2026 09:42
@Alphaharrius Alphaharrius self-assigned this May 11, 2026
@Alphaharrius Alphaharrius added the bug Something isn't working label May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"bandstructure" plotting method shows discontinued and zig-zag surface for some specific bands

1 participant