Skip to content

recording: shaded_and_stairs (filled-area shapes, guided tour)#17

Merged
borisbat merged 1 commit into
masterfrom
bbatkin/shaded-and-stairs-recording
Jun 7, 2026
Merged

recording: shaded_and_stairs (filled-area shapes, guided tour)#17
borisbat merged 1 commit into
masterfrom
bbatkin/shaded-and-stairs-recording

Conversation

@borisbat

@borisbat borisbat commented Jun 7, 2026

Copy link
Copy Markdown
Owner

Second of the four display-tour recordings. shaded_and_stairs covers the filled-area item families across two plots:

  • BAND (top) — plot_shaded_between fills the region between a lower and an upper curve (the band widens to the right, the way a confidence interval grows), with the mean line drawn over it.
  • STAIRS (bottom) — plot_stairs holds each sample until the next (piecewise-constant data), and plot_shaded fills the area beneath the steps down to the baseline.

There is no interaction to teach beyond the shapes — and legend-toggle is already spent on multi_series and bar_groups_and_pie — so this is a pure guided tour: the cursor traces the widening band left to right, then glides down to the steps, while the voice names each area shape. It is still REAL synthetic input and self-verifying — both plots must render at every beat (record_check_rendered), so a dead frame or wrong window aborts at teardown.

Files

  • tests/integration/record_shaded_and_stairs.das — the voiced driver (intro both plots + trace the band + point at the stairs).
  • doc/source/tutorials/shaded_and_stairs.rst+ .. video:: shaded_and_stairs.mp4 and a Walkthrough section.
  • doc/source/_static/tutorials/shaded_and_stairs.mp4 — the recording (852 KB, 30.2s, 788 frames, 0 dropped, Emma voice + −16 dB bed).

The headless guard is the existing test_shaded_and_stairs.das.

🤖 Generated with Claude Code

Second of the display-tour recordings. shaded_and_stairs covers the filled-area item
families across two plots: a confidence BAND on top (plot_shaded_between fills the region
between a lower and an upper curve, widening to the right, with the mean line drawn over
it) and a STAIRS plot below (plot_stairs holds each sample, plot_shaded fills the area
beneath the steps down to the baseline).

There is no interaction to teach here beyond the shapes - and legend-toggle is already
spent on multi_series and bar_groups_and_pie - so this is a pure guided tour: the cursor
traces the widening band left to right, then glides down to the steps, while the voice
names each area shape. Still REAL synthetic input and self-verifying: both plots must
render at every beat (record_check_rendered), so a dead frame or wrong window aborts at
teardown.

- tests/integration/record_shaded_and_stairs.das: the voiced driver (intro both plots +
  trace the band + point at the stairs).
- doc/source/tutorials/shaded_and_stairs.rst: + .. video:: shaded_and_stairs.mp4 and a
  Walkthrough section describing the guided tour.
- doc/source/_static/tutorials/shaded_and_stairs.mp4: the recording (852 KB, 30.2s, 788
  frames, 0 dropped, Emma voice + -16 dB bed).

The headless guard is the existing test_shaded_and_stairs.das.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds the second “display tour” tutorial recording for ImPlot filled-area shapes, along with tutorial documentation to embed and describe the walkthrough video.

Changes:

  • Introduces a new integration recording driver that narrates and cursor-tours the BAND and STAIRS plots, with render checks during the tour.
  • Adds a “Walkthrough” section to the shaded/stairs tutorial page that embeds the corresponding video and explains what’s being shown.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.

File Description
tests/integration/record_shaded_and_stairs.das New voiced recording driver that tours the band fill and step+shaded plot with self-verification.
doc/source/tutorials/shaded_and_stairs.rst Adds a Walkthrough section with a .. video:: embed and narrative description of the recording.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +63 to +66
move_to(app, (bx + bw * 0.92f, by + bh * 0.5f), 1200)
wait_for_mouse_idle(app)
record_check_rendered(app, BAND, true)
hold_remainder(d_band, t_band)
Comment on lines +73 to +76
move_to(app, plot_center(ssnap, stairs), 900)
wait_for_mouse_idle(app)
record_check_rendered(app, STAIRS, true)
hold_remainder(d_stairs, t_stairs)
@borisbat borisbat merged commit 1cdad2e into master Jun 7, 2026
6 checks passed
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