scipy.stats._result_classes.FitResult.plot#
- FitResult.plot(ax=None)[source]#
Visualize the fit result.
Superposes the PDF/PMF of the fitted distribution over a normalized histogram of the data.
Available only if
matplotlib
is installed.- Parameters
- axmatplotlib.axes.Axes
Axes object to draw the plot onto, otherwise uses the current Axes.
- Returns
- axmatplotlib.axes.Axes
The matplotlib Axes object on which the plot was drawn.