Repository navigation
docs: share BinnedData across plots, the beta relation, plot-block guards - #529
Merged
Merged
Conversation
An empty .. plot:: block now fails with its file and line rather than a ValueError from min(), and a block that names a script (.. plot:: x.py) fails, since the guide keeps every figure's code inline. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
beta = n k_B T / (B^2 / 2 mu_0) = 2 mu_0 p_th / B^2, with p_th = rho w^2 / 2 from the component's thermal speed, as Plasma.beta computes it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A section after Bins builds one BinnedData and passes it to a count histogram, a mean-z histogram and a masked one, with a two-panel figure. It states the time and memory saved as measured: ten Hist2D of different z on 10^6 points, 0.28 s and 3 MB retained shared against 0.57 s and 21 MB private (Apple M3, median of three, tracemalloc). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Claude finished @blalterman's task in 23s —— View job Review of PR #529I read the diff only. I did not build the docs or run the tests or doctests. Overall: This is a clean docs and tests change with no package code touched. I found nothing blocking.
Summary: Approve, with optional suggestions: a test that shows the guards fire, a relation in place of the pinned |
16 tasks
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.
Docs follow-ups for v0.4.1, so the "stable" docs include them.
BinnedDataacross several plots, with a measured time and memory comparison (setup stated)..pre-commit-config.yaml.tests/test_docs_plot_blocks.py: an empty.. plot::block or one with a file argument fails with its file and line.Docs and tests only; the package code is unchanged.
🤖 Generated with Claude Code