captest.capdata.CapData.scatter

CapData.scatter(filtered=True)

Create a matplotlib scatter plot of regression lhs vs. first rhs var.

Formula-agnostic: resolves the x and y columns from self.regression_formula via util.parse_regression_formula.

Parameters:

filtered (bool, default True) – Plots filtered data when True and all data when False.

Notes

Prefer CapTest.scatter_plots for non-default regression presets; it picks the right callable from TEST_SETUPS (single or multi- panel) automatically.