Plotly-native regression diagnostics.
Each function takes a fitted regressor (or Pipeline) plus a holdout
set and returns a plotly.graph_objects.Figure.
Usage::
from pycaret.plots import regression as plots
fig = plots.residuals(pipeline, X_test, y_test)
fig.to_dict() # API JSON payload