Skip to content

Added Customization Options to Visualization Step#365

Open
pauladkisson wants to merge 6 commits into
mainfrom
viz-customization
Open

Added Customization Options to Visualization Step#365
pauladkisson wants to merge 6 commits into
mainfrom
viz-customization

Conversation

@pauladkisson

Copy link
Copy Markdown
Collaborator

Fixes #253

pauladkisson and others added 5 commits July 1, 2026 13:16
Add trace/mean color pickers to the visualization dashboard PSTH tab,
replacing the hardcoded blue/black curve colors. Replace the shared
drag-only axis-limit sliders with independent per-plot numeric min/max
inputs that also snap to Bokeh zoom/pan via a range-sync hook, so each
of the three PSTH plots owns its own axis range.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…cker, selector cleanup (#253)

Follow-up polish on the PSTH visualization tab:
- Independent save button + format selector per plot (single-event,
  comparison, selected-trials); the selected-trials plot is now saveable.
- Categorical palette selector colors the multi-event comparison curves.
- Trial picker is a CrossSelector so selected trials are visually obvious;
  the display mode never renders blank (falls back to individual trials).
- Re-autofit each plot's Y range when its data selection changes, so
  switching event/trials no longer leaves traces clamped off-screen.
- Numeric axis-limit boxes formatted to two decimals.
- Default the x-axis to the actual PSTH window [nSecPrev, nSecPost].
- Moved the Mean color picker to plot 3 (its only remaining use); plot 1's
  all-trials mean line uses Trace color.
- Removed the single-option x-selector and simplified the plot-1 "View"
  selector to overview views only (mean / All / bins) via overview_y_options.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@pauladkisson

Copy link
Copy Markdown
Collaborator Author

@Georgekiran, please take a look, and let me know what you think!

@Georgekiran

Georgekiran commented Jul 2, 2026 via email

Copy link
Copy Markdown

@codecov

codecov Bot commented Jul 2, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 92.77778% with 13 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/guppy/frontend/parameterized_plotter.py 91.17% 3 Missing and 9 partials ⚠️
src/guppy/frontend/visualization_dashboard.py 97.50% 0 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

@pauladkisson pauladkisson marked this pull request as ready for review July 2, 2026 14:39
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.

Customization Options for Visualization Dashboard

2 participants