Docs/notebook plotly#15
Merged
Merged
Conversation
Make every plot in examples/pipeline_walkthrough.ipynb interactive so the 3D views (camera rig, triangulated pose) rotate/zoom and rendered cleanly on the docs site. The 3D pose (step 11) is now a single interactive scene instead of two fixed viewpoints. - Shared cell-2 helpers: show() emits self-contained CDN HTML that renders in the notebook and on a static site; rgb()/img_uri()/add_image() draw image montages with JPEG data URIs and pixel-accurate, square axes so the vector skeleton/heatmap overlays line up. - Image montages embed JPEG sources rather than Plotly raw-pixel z arrays, keeping the page at ~2 MB instead of ~16 MB. - plotly added to the dev dependency group (notebook-only, like matplotlib, which bundle_adjustment.ipynb still uses). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Centralize figure styling in show() so every plot reads on both the light and dark docs themes: transparent paper/plot backgrounds (the page theme shows through), a mid-gray for all text and axis lines (no black-on-black), 3D scenes drop their opaque background panes (keeping faint gridlines), and titles are forced to centre. Also fix the visibility-mask figure, whose 38 point-name x-labels overlapped: stack them vertically with a smaller font and auto-margin. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Add the Plotly/Jupyter example notebooks to the MkDocs site via mkdocs-jupyter (execute: false, so the stored interactive outputs are reused and the build needs no torch/jax/data). The notebooks are symlinked into docs/examples/ and added to the nav; the docs workflow now also triggers on examples/** changes. Exclude examples/ and docs/examples/ notebooks from nbstripout so their stored outputs (the interactive figures) survive commits. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.
No description provided.