cvms icon indicating copy to clipboard operation
cvms copied to clipboard

Related to issue 35

Open JianWang2016 opened this issue 5 months ago • 1 comments

Dear @LudvigOlsen , As of today, the following doesn't seem to be supported any more:

plot_confusion_matrix( conf_mat, font_row_percentages=font(prefix=c("NPV = ", "", "", "PPV = ")), font_col_percentages = font(prefix=c("Spec = ", "", "", "Sens = ")) )

The error messages are:

Error in element_text(size = size, color = color, face = face, family = family, : unused argument (prefix = c("NPV=", "", "", "PPV="))

Error in element_text(size = size, color = color, face = face, family = family, : unused argument (prefix = c("NPA=", "", "", "PPA="))

The error is related to ggplot2 version ggplot2_3.4.4. The code works in ggplot2_3.4.3.

JianWang2016 avatar Jan 25 '24 01:01 JianWang2016