metadpy.plotting.plot_confidence#
- metadpy.plotting.plot_confidence(nR_S1: Union[list, ndarray], nR_S2: Union[list, ndarray], fitModel: Optional[dict] = None, ax: Optional[Axes] = None) Axes [source]#
Plot nR_S1 and nR_S2 confidence ratings.
- Parameters
- nR_S1
Confience ratings (stimuli 1).
- nR_S2
Confidence ratings (stimuli 2).
- fitModel
Dictionary returned by :py:funct:`metadpy.mle.fit_metad()`. If provided, the estimated ratings will be plotted toghether with the observed data.
- ax
Where to draw the plot. Default is None (create a new figure).
- Returns
- ax
The matplotlib axes containing the plot.