Repository navigation
CRT QQ plot: square axes, gray null, dashed diagonal, 14 pt font - #21
Open
OlgaPushkarev wants to merge 1 commit into
Open
OlgaPushkarev wants to merge 1 commit into
OlgaPushkarev wants to merge 1 commit into
Conversation
qq_plot_real_vs_null now draws a square plot (6x6, shared 0..max range on both axes, equal aspect) so the y = x line sits at 45 degrees; null (NTC) points are gray; the diagonal is dashed at 50% opacity; top and right spines are removed; title, axis labels, ticks and legend use a new font_size argument (default 14). Existing callers are unchanged. The file is also ruff-formatted (identical to the formatting already on the nonperturbed-mouse-data branch). Co-Authored-By: Claude Opus 5.5 (1M context) <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.
Summary
Restyles the CRT calibration QQ plot (
qq_plot_real_vs_nullinsrc/Stage2_Evaluation/B_Calibration/src/CRT/qq_plot.py), used by bothCRT.pypaths (fresh results andplot_qq_from_cache) and the CRT notebook:figsize=(6, 6), the same 0..max range on both axes and equal aspect, so the y = x reference sits at 45 degreesfont_sizeargument (default 14) applied to the title, axis labels, tick labels and legendThe signature change is backward compatible: existing callers don't need to change. The plotted data (raw p-values against uniform expectation on the -log10 scale) is unchanged.
The file is also ruff-formatted. The formatting matches what the
nonperturbed-mouse-databranch already applies to this file, so merging both may give a small conflict here; resolve it by keeping this PR's plotting lines.Testing
plot_qq_from_cache) for two K values and four conditions; checked the rendering visually.tools/check_no_lab_specific_content.py --stagedpasses on this change. A full-tree scan ofmainstill reports existing hits in unrelated files, which are removed on thenonperturbed-mouse-databranch.🤖 Generated with Claude Code