effector/feature-effect-uncentered-plot
| Pack | Severity | Fix | Versions |
|---|---|---|---|
| effector | warning | none, edit by hand | All versions |
effector.FeatureEffect.plot() compares multiple methods (such as PDP, ALE, and RHALE) that have different uncentered baselines. Passing centering=False emits a warning and silently coerces to centering="zero_integral".
fe.plot("wind", centering=False)fe.plot("wind", centering="zero_integral")What the rule reports
Section titled “What the rule reports”Calls to FeatureEffect.plot(..., centering=False).
How to fix it
Section titled “How to fix it”Pass centering="zero_integral" (or centering=True) or centering="zero_start".
Diagnostic message
Section titled “Diagnostic message”FeatureEffect.plot(..., centering=False) emits a warning and overrides centering to 'zero_integral' because comparing methods without centering is not meaningful. Pass centering='zero_integral' or centering='zero_start'.See all rules in the effector pack.