Commit 530954d
miranov25
PHASE 13.41.DF — N-D Faceting via facet_by=List[str]
[Full v1.6 commit message preserved + CRR §2 disclosures:]
Fix-at-code-time disclosures (CRR §2):
§2.1: DFDraw.profile uses range= (not x_range=) — remaps internally
to draw_profile's x_range=. v1.4 CP1-1 spec referenced
draw_profile level only.
§2.2: matplotlib range= controls BIN range, not axis xlim. For
share_across_figures=True, also call ax.set_xlim post-draw
for hist/profile (matches scatter pattern). FBY.16 lock.
§2.3: Internal lock params renamed _lock_x_range/_lock_y_range to
avoid collision with user x_range in plot_kwargs.
§2.4: scatter has no auto_title param (drawer.py:1198); auto_title
added only for hist/profile in inner dispatch.
§2.5: _compute_global_ranges uses y_expr for hist (hist convention:
x_expr=None, histogrammed column is in y_expr).
Scope deferred (Phase 13.41 FIX1):
- DFDraw.* signature type hints for facet_by Union[str, List[str]]
- DFDraw.* named params for share_x/share_y/share_across_figures
- _*_FORWARDED_NAMES updates
(Functional behavior complete; documentation polish deferred.)
Tests: 923 → 942 (+19 §9 invariance: FBY.1-19).1 parent 67d125e commit 530954d
5 files changed
Lines changed: 1054 additions & 7 deletions
File tree
- UTILS/dfextensions/dfdraw
- docs
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
| 12 | + | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
| 172 | + | |
| 173 | + | |
172 | 174 | | |
173 | 175 | | |
174 | 176 | | |
| |||
0 commit comments