pysteps.verification.plots.plot_ROC

pysteps.verification.plots.plot_ROC(ROC, ax=None, opt_prob_thr=False)

Plot a ROC curve.

Parameters:
ROC : dict

A ROC curve object created by probscores.ROC_curve_init.

ax : axis handle, optional

Axis handle for the figure. If set to None, the handle is taken from the current figure (matplotlib.pylab.gca()).

opt_prob_thr : bool, optional

If set to True, plot the optimal probability threshold that maximizes the difference between the hit rate (POD) and false alarm rate (POFD).