Skip to content

Commit 8db6b55

Browse files
authored
update nrows validation in scatterplot (#880)
Fixes #19 The plot is now generated as long as the dataset has at least one row.
1 parent f34e2b7 commit 8db6b55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/tm_g_scatterplot.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ srv_g_scatterplot <- function(id,
716716
))
717717
}
718718

719-
teal::validate_has_data(ANL[, c(x_var, y_var)], 10, complete = TRUE, allow_inf = FALSE)
719+
teal::validate_has_data(ANL[, c(x_var, y_var)], 1, complete = TRUE, allow_inf = FALSE)
720720

721721
if (log_x) {
722722
validate(

0 commit comments

Comments
 (0)