Skip to content

feat: add reusable zig-zag phase break helper#2

Open
KUANPEIEN wants to merge 1 commit into
batotype:mainfrom
KUANPEIEN:codex/zigzag-phase-breaks
Open

feat: add reusable zig-zag phase break helper#2
KUANPEIEN wants to merge 1 commit into
batotype:mainfrom
KUANPEIEN:codex/zigzag-phase-breaks

Conversation

@KUANPEIEN

Copy link
Copy Markdown

Summary

Adds a reusable phase_breaks.py helper for APA/JABA-style phase separators and updates the example line, bar, and log-linear scripts to use it.

Related to #1.

The helper supports:

  • dotted, solid, dashed, or raw Matplotlib linestyles
  • vertical zig-zag phase breaks between phases
  • straight-line fallback with zigzag=False
  • one global style or one style per boundary

Validation

  • python -m py_compile phase_breaks.py linephase.py barphase.py loglin.py
  • python linephase.py
  • python barphase.py
  • python loglin.py
  • generated plot files were removed after local validation

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.

1 participant