You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When number of points to plot exceeds 100,000, the plot is defaulted to rasterization and a warning is issued, "Rasterizing points since number of points exceeds 100,000. To disable this behavior set raster=FALSE".
First time it is great, but always is anoying. It can be removed by suppressWarnings(), see #6802, but it clutters the code.
An easy fix seems to be to change the preceeding condition in "visualization.R" (three places) from
"if ((nrow(x = data) > 1e5) & !isFALSE(raster)){" to "if ((nrow(x = data) > 1e5) & is.null(raster)){"
In this way, only if the raster option is not already specified, the warning will appear. So setting "raster = TRUE" will produce the same plot, but without the warning.
The text was updated successfully, but these errors were encountered:
When number of points to plot exceeds 100,000, the plot is defaulted to rasterization and a warning is issued, "Rasterizing points since number of points exceeds 100,000. To disable this behavior set
raster=FALSE
".First time it is great, but always is anoying. It can be removed by suppressWarnings(), see #6802, but it clutters the code.
An easy fix seems to be to change the preceeding condition in "visualization.R" (three places) from
"if ((nrow(x = data) > 1e5) & !isFALSE(raster)){" to "if ((nrow(x = data) > 1e5) & is.null(raster)){"
In this way, only if the raster option is not already specified, the warning will appear. So setting "raster = TRUE" will produce the same plot, but without the warning.
The text was updated successfully, but these errors were encountered: