museotoolbox.charts.PlotConfusionMatrix.add_mean

PlotConfusionMatrix.add_mean(xLabel='', yLabel='', hide_ticks=False, thresold=50, vmin=0, vmax=100)[source]

Add Mean for both axis.

Parameters
  • xLabel (str) – The label for X (i.e. ‘All species’)

  • yLabel (str) – The label for Y (i.e. ‘All years’)

  • thresold (int, default 50.) –

  • vmin (int.) – Minimum value for colormap.

  • vmax – Maximum value for colormap.

Examples

>>> plot.add_mean(xLabel='all species',yLabel='all years')