Repository navigation
Tutorials: videos drawn by htfa.animate_network and hyp.plot(panels=, animate=True) - #151
Merged
Merged
Conversation
…plot(panels=, animate=True) (hypertools 1.2) htfa_network_animations: one animate_network call per video in place of the notebook's scene, frame composition and retry code; no private htfa names. trajectories: one hyp.plot call per video in place of the frame loop; the filter for hypertools' messages is removed. The tutorials extra needs htfa[plot,brain3d]>=0.2.0 and hypertools>=1.2. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DcKtyroRyyp5UK7L9zwqxL
…w and preset slow (htfa 0.2.0 release) The notebook was run again with htfa 0.2.0 and hypertools 1.2.0 installed from PyPI. Its stills no longer go through a one-frame movie, and the videos of orders 1 and 2 have the layout of the earlier videos again (brains and legend within 5 pixels). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DcKtyroRyyp5UK7L9zwqxL
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.
Not to be merged before htfa 0.2.0 and hypertools 1.2.0 are on PyPI: the
tutorialsextra requires them from this change on, and the two notebooks' Colab install cell would fail earlier.What changes
docs/tutorial/htfa_network_animations.ipynb: each video is drawn by onehtfa.animate_networkcall (htfa 0.2.0: per-node colors, per-frame radii and edges, two views, caption, legend rows, parallel frames) in place of the notebook's own scene, frame composition and retry code. No private htfa names remain. Code cells: 381 to 277 lines.docs/tutorial/trajectories.ipynb: each video is drawn by onehyp.plot(..., panels=..., animate=True, chemtrails=True, caption=...)call (hypertools 1.2); the notebook then enlarges the caption and adds a title. The filter for hypertools' messages is removed (hyp.plot repeats the backend UserWarning on every call, including show=False with ax= hypertools#290, #292 are fixed in 1.2).setup.py:tutorialsextra needshtfa[plot,brain3d]>=0.2.0andhypertools>=1.2.CHANGELOG.md,CLAUDE.mdupdated.What looks different
Checks
pytest -m "not slow": 2608 passed; doctests: 75 passed;tests/test_docs_tutorials.py: 60 passed; docs build with-W: clean.🤖 Generated with Claude Code
https://claude.ai/code/session_01DcKtyroRyyp5UK7L9zwqxL