Skip to content

Fix nspikeTrain.plot() handle kwarg for API consistency#52

Merged
iahncajigas merged 1 commit intomainfrom
fix/nspikeTrain-plot-handle
Mar 10, 2026
Merged

Fix nspikeTrain.plot() handle kwarg for API consistency#52
iahncajigas merged 1 commit intomainfrom
fix/nspikeTrain-plot-handle

Conversation

@iahncajigas
Copy link
Copy Markdown
Contributor

Summary

  • nspikeTrain.plot() only accepted currentHandle while SignalObj.plot() and nstColl.plot() accepted handle
  • Now accepts both currentHandle and handle kwargs for uniform API
  • Found during end-to-end verification of paper example 01

Test plan

  • 180 tests pass locally (0 failures)
  • All 5 paper examples run successfully with --export-figures (24 figures generated)

🤖 Generated with Claude Code

nspikeTrain.plot() used currentHandle while SignalObj.plot() and
nstColl.plot() used handle.  Accept both so callers can use a
uniform handle= keyword across all plot methods.

Found during end-to-end verification of paper example 01.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@iahncajigas iahncajigas merged commit 4363b01 into main Mar 10, 2026
13 checks passed
@iahncajigas iahncajigas deleted the fix/nspikeTrain-plot-handle branch March 10, 2026 12:15
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