museotoolbox.charts.PlotConfusionMatrix.add_text¶
-
PlotConfusionMatrix.
add_text
(thresold=False, font_size=12, alpha=1, alpha_zero=1)[source]¶ Add value of each case on the matrix image.
- Parameters
thresold (False or integer.) –
alpha (float, default 1.) – Value from 0 to 1.
alpha_zero (float, default 1.) – Value alpha for 0 values, from 0 to 1.
Examples
>>> plot.add_text(alpha_zero=0.5)