recording: shaded_and_stairs (filled-area shapes, guided tour)#17
Merged
Conversation
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>
There was a problem hiding this comment.
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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Second of the four display-tour recordings.
shaded_and_stairscovers the filled-area item families across two plots:plot_shaded_betweenfills the region between a lower and an upper curve (the band widens to the right, the way a confidence interval grows), with themeanline drawn over it.plot_stairsholds each sample until the next (piecewise-constant data), andplot_shadedfills 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_seriesandbar_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.mp4and 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