Skip to content

Commit 82154f5

Browse files
andrzejnovakclaude
andcommitted
feat: implement flow parameter support in comparison plotters (fixes #594)
Add comprehensive support for flow parameter in comparison plotting functions including plot_data_model_comparison(), plot_two_hist_comparison(), and plot_model(). Key improvements: - Preserve original histogram flow information through plotting pipeline - Pass original histograms to histplot() for proper flow bin detection - Prevent xlim reset when flow="show" to preserve extended axis range - Filter 'flow' parameter before passing to funcplot() compatibility - Add flow-aware ratio computation in comparison panels Supports all flow options: "hint" (diamond markers), "show" (extended range), "sum" (included in edge bins), and "none". 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent ae77540 commit 82154f5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+11610
-176
lines changed
Lines changed: 223 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,223 @@
1+
{
2+
"machine_info": {
3+
"node": "LegionPro7",
4+
"processor": "x86_64",
5+
"machine": "x86_64",
6+
"python_compiler": "GCC 13.3.0",
7+
"python_implementation": "CPython",
8+
"python_implementation_version": "3.12.8",
9+
"python_version": "3.12.8",
10+
"python_build": [
11+
"main",
12+
"Dec 5 2024 14:24:40"
13+
],
14+
"release": "6.6.87.2-microsoft-standard-WSL2",
15+
"system": "Linux",
16+
"cpu": {
17+
"python_version": "3.12.8.final.0 (64 bit)",
18+
"cpuinfo_version": [
19+
9,
20+
0,
21+
0
22+
],
23+
"cpuinfo_version_string": "9.0.0",
24+
"arch": "X86_64",
25+
"bits": 64,
26+
"count": 32,
27+
"arch_string_raw": "x86_64",
28+
"vendor_id_raw": "AuthenticAMD",
29+
"brand_raw": "AMD Ryzen 9 7945HX with Radeon Graphics",
30+
"hz_advertised_friendly": "2.4953 GHz",
31+
"hz_actual_friendly": "2.4953 GHz",
32+
"hz_advertised": [
33+
2495267000,
34+
0
35+
],
36+
"hz_actual": [
37+
2495267000,
38+
0
39+
],
40+
"stepping": 2,
41+
"model": 97,
42+
"family": 25,
43+
"flags": [
44+
"3dnowprefetch",
45+
"abm",
46+
"adx",
47+
"aes",
48+
"apic",
49+
"arat",
50+
"avx",
51+
"avx2",
52+
"avx512_bf16",
53+
"avx512_bitalg",
54+
"avx512_vbmi2",
55+
"avx512_vnni",
56+
"avx512_vpopcntdq",
57+
"avx512bitalg",
58+
"avx512bw",
59+
"avx512cd",
60+
"avx512dq",
61+
"avx512f",
62+
"avx512ifma",
63+
"avx512vbmi",
64+
"avx512vbmi2",
65+
"avx512vl",
66+
"avx512vnni",
67+
"avx512vpopcntdq",
68+
"bmi1",
69+
"bmi2",
70+
"clflush",
71+
"clflushopt",
72+
"clwb",
73+
"clzero",
74+
"cmov",
75+
"cmp_legacy",
76+
"constant_tsc",
77+
"cpuid",
78+
"cr8_legacy",
79+
"cx16",
80+
"cx8",
81+
"de",
82+
"decodeassists",
83+
"erms",
84+
"extd_apicid",
85+
"f16c",
86+
"flushbyasid",
87+
"fma",
88+
"fpu",
89+
"fsgsbase",
90+
"fsrm",
91+
"fxsr",
92+
"fxsr_opt",
93+
"gfni",
94+
"ht",
95+
"hypervisor",
96+
"ibpb",
97+
"ibrs",
98+
"invpcid",
99+
"lahf_lm",
100+
"lm",
101+
"mca",
102+
"mce",
103+
"misalignsse",
104+
"mmx",
105+
"mmxext",
106+
"movbe",
107+
"msr",
108+
"mtrr",
109+
"nonstop_tsc",
110+
"nopl",
111+
"npt",
112+
"nrip_save",
113+
"nx",
114+
"osvw",
115+
"osxsave",
116+
"pae",
117+
"pat",
118+
"pausefilter",
119+
"pclmulqdq",
120+
"pdpe1gb",
121+
"perfctr_core",
122+
"pfthreshold",
123+
"pge",
124+
"pni",
125+
"popcnt",
126+
"pse",
127+
"pse36",
128+
"rdpid",
129+
"rdrand",
130+
"rdrnd",
131+
"rdseed",
132+
"rdtscp",
133+
"rep_good",
134+
"sep",
135+
"sha",
136+
"sha_ni",
137+
"smap",
138+
"smep",
139+
"ssbd",
140+
"sse",
141+
"sse2",
142+
"sse4_1",
143+
"sse4_2",
144+
"sse4a",
145+
"ssse3",
146+
"stibp",
147+
"svm",
148+
"syscall",
149+
"topoext",
150+
"tsc",
151+
"tsc_known_freq",
152+
"tsc_reliable",
153+
"tsc_scale",
154+
"umip",
155+
"v_vmsave_vmload",
156+
"vaes",
157+
"vmcb_clean",
158+
"vme",
159+
"vmmcall",
160+
"vpclmulqdq",
161+
"xgetbv1",
162+
"xsave",
163+
"xsavec",
164+
"xsaveerptr",
165+
"xsaveopt",
166+
"xsaves"
167+
],
168+
"l3_cache_size": 1048576,
169+
"l2_cache_size": 16777216,
170+
"l1_data_cache_size": 524288,
171+
"l1_instruction_cache_size": 524288,
172+
"l2_cache_line_size": 1024,
173+
"l2_cache_associativity": 6
174+
}
175+
},
176+
"commit_info": {
177+
"id": "3da2c57eae238496057361902aa7e3df74e2e321",
178+
"time": "2025-10-08T19:22:16+02:00",
179+
"author_time": "2025-10-08T19:22:16+02:00",
180+
"dirty": true,
181+
"project": "mplhep",
182+
"branch": "devel2"
183+
},
184+
"benchmarks": [
185+
{
186+
"group": null,
187+
"name": "test_simple_benchmark",
188+
"fullname": "tests/test_basic.py::test_simple_benchmark",
189+
"params": null,
190+
"param": null,
191+
"extra_info": {},
192+
"options": {
193+
"disable_gc": false,
194+
"timer": "perf_counter",
195+
"min_rounds": 5,
196+
"max_time": 1.0,
197+
"min_time": 5e-06,
198+
"warmup": false
199+
},
200+
"stats": {
201+
"min": 0.005659113001456717,
202+
"max": 0.006759807001799345,
203+
"mean": 0.006282192201615544,
204+
"stddev": 0.00043149337676236097,
205+
"rounds": 5,
206+
"median": 0.006323222001810791,
207+
"iqr": 0.0006445297494792612,
208+
"q1": 0.005980907251796452,
209+
"q3": 0.0066254370012757136,
210+
"iqr_outliers": 0,
211+
"stddev_outliers": 2,
212+
"outliers": "2;0",
213+
"ld15iqr": 0.005659113001456717,
214+
"hd15iqr": 0.006759807001799345,
215+
"ops": 159.1801027263759,
216+
"total": 0.03141096100807772,
217+
"iterations": 1
218+
}
219+
}
220+
],
221+
"datetime": "2025-10-08T18:44:25.996703+00:00",
222+
"version": "5.1.0"
223+
}

0 commit comments

Comments
 (0)