Skip to content

kwargs protection: plotting modules#1919

Merged
joa-quim merged 1 commit into
masterfrom
kwargs-protect-plotting
Feb 17, 2026
Merged

kwargs protection: plotting modules#1919
joa-quim merged 1 commit into
masterfrom
kwargs-protect-plotting

Conversation

@joa-quim
Copy link
Copy Markdown
Member

Summary

  • Split entry points from main logic in plotting module wrappers so that kwargs are converted to Dict{Symbol,Any} via init_module in thin wrappers before calling the main function
  • This prevents Julia recompilation when kwargs change, reducing compilation overhead
  • Affected modules: plot (fill_between, helper_hvband, ternary), pslegend, psmask, psrose, pssolar, pswiggle, gmtlogo, windbarbs, psvelo, psmeca/coupe, gmtisf

Test plan

  • All Vd=2 smoke tests pass
  • test_B-GMTs.jl passes (pre-existing failure on missing test_ds_with_comment.dat unrelated)
  • Actual execution tests pass for key functions

🤖 Generated with Claude Code

Split entry points from main logic in plotting module wrappers
so that kwargs are converted to Dict{Symbol,Any} via init_module
in thin wrappers before calling the main function. This prevents
Julia recompilation when kwargs change.

Affected modules: plot (fill_between, helper_hvband, ternary),
pslegend, psmask, psrose, pssolar, pswiggle, gmtlogo, windbarbs,
psvelo, psmeca/coupe, gmtisf.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Feb 17, 2026

Codecov Report

❌ Patch coverage is 85.71429% with 14 lines in your changes missing coverage. Please review.
✅ Project coverage is 85.87%. Comparing base (8913842) to head (a588dbb).
⚠️ Report is 4 commits behind head on master.

Files with missing lines Patch % Lines
src/seis/psmeca.jl 64.28% 5 Missing ⚠️
src/seis/gmtisf.jl 0.00% 4 Missing ⚠️
src/psrose.jl 77.77% 2 Missing ⚠️
src/windbarbs/windbarbs.jl 84.61% 2 Missing ⚠️
src/geodesy/psvelo.jl 87.50% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1919      +/-   ##
==========================================
+ Coverage   85.68%   85.87%   +0.18%     
==========================================
  Files         187      187              
  Lines       27524    27551      +27     
==========================================
+ Hits        23584    23659      +75     
+ Misses       3940     3892      -48     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@joa-quim joa-quim merged commit 47cbdcd into master Feb 17, 2026
5 of 7 checks passed
@joa-quim joa-quim deleted the kwargs-protect-plotting branch February 17, 2026 13:22
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