museotoolbox.charts.PlotConfusionMatrix.color_diagonal

PlotConfusionMatrix.color_diagonal(diag_color=<matplotlib.colors.LinearSegmentedColormap object>, matrix_color=<matplotlib.colors.LinearSegmentedColormap object>)[source]

Add user and producer accuracy.

Parameters
  • diag_color (pyplot colormap, default plt.cm.Greens.) –

  • matrix_color (pyplot colormap, default plt.cm.Reds) –

Examples

>>> plot.colorDiag()