Plotly-native classification diagnostics.
Each function takes a fitted classifier (or Pipeline) plus a holdout
set and returns a plotly.graph_objects.Figure. No file I/O, no
matplotlib — figures travel as JSON to the React dashboard.
Usage::
from pycaret.plots import classification as plots
fig = plots.confusion_matrix(pipeline, X_test, y_test)
fig.show() # notebook
fig.to_dict() # API JSON payload