statsmodels.genmod.generalized_linear_model.GLMResults.plot_partial_residuals¶ GLMResults.plot_partial_residuals(focus_exog, ax=None)[source]¶ Create a partial residual, or ‘component plus residual’ plot for a fitted regression model. Parameters focus_exogint or strThe column index of exog, or variable name, indicating the variable whose role in the regression is to be assessed. ax: AxesMatplotlib Axes instance Returns FigureA matplotlib figure instance.