Repository navigation
feat(plotting): adopt SciPlot series identity, style contexts, and font policies - #330
Merged
Merged
Conversation
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.
背景与动机
曲线在抽取子集或改变绘制顺序后需要保持同一颜色/线型身份;同一进程创建不同主题的图时,延迟测量和保存也应保留创建主题。当前 v2 绘图明确声明缺失字体的失败或候选替代策略,并记录实际字体来源。
改动内容
SeriesStyleRegistry,拒绝重复/未知身份和样式槽位耗尽;实测 artist 编码与 manifest 核对。style_context和 figure 绑定,覆盖嵌套、异常恢复、延迟测量及导出;保留全局 CLI 和冻结历史读取兼容。archived,归档任务说明。作者确认仅用于组会内部展示,接受记录绑定原 PNG/manifest hash;本批交付保持 PNG。验证方式
test_plotting_style、test_plotting_contract、test_plotting_quality、test_plot_delivery、test_plot_bundle、test_freezeout_comparison、test_freezeout_thermodynamic_envelope。test_plot_provenance/test_phase_guided_publication_clean_v13_pdf检查通过,包含既有 v13 全包验证。临时测试 PDF 仅用于公共导出行为验证。git diff --cached --check通过。影响范围与兼容性
PNG case 为
png_review,内部展示接受记录保留作者原始回复。图像和生成时 manifest 原字节保留;没有本批 PDF 导出、正式化、稿件资格或 current 图层替换。主线保持meson-freezeout-experiment;后续标签和其它图族按实际需求处理。改动限于绘图与证据留存。未修改求解器、单位/公式、mixed-meson 治理或 non-fixedmu 联合求解语义,因此未重跑数值生产或 Julia 全量回归。
Checklist