Closed davidhodge931 closed 1 year ago
if (rlang::is_null(x_title)) { if (!rlang::is_null(pb$plot$labels$x)) { x_title <- snakecase::to_sentence_case(pb$plot$labels$x[1]) } } if (rlang::is_null(y_title)) { if (!rlang::is_null(pb$plot$labels$y)) { y_title <- snakecase::to_sentence_case(pb$plot$labels$y[1]) } } if (rlang::is_null(col_title)) { if (!rlang::is_null(pb$plot$labels$colour)) { col_title <- snakecase::to_sentence_case(pb$plot$labels$colour[1]) } else if (!rlang::is_null(pb$plot$labels$fill)) { col_title <- snakecase::to_sentence_case(pb$plot$labels$fill[1]) } }
Remove titles argument
Done :)