-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rendering artefacts when using spplot #131
Comments
See also r-spatial/stars#573 - for raster maps png usually does a better job. For pkgdown, you can turn using ragg off, see https://github.com/r-spatial/stars/blob/main/_pkgdown.yml |
Thanks for the response! I am using the code within an RShiny application. I am aware that I can turn ragg off globally but would like to avoid that if possible due to the other benefits that ragg provides over the native rendering device. Is there a way to select a specific rendering device for one individual RShiny plot? That would be an acceptable workaround for me. |
One work-around for you may be to add a thin border of the same colour as the fill. Haven't tried it myself, and not sure if it has effect on performance -- but if lucky it may achieve what you want without playing with graphics devices etc... See here: #103 (comment) |
When using ragg as the png rendering device I observe striping/visible borders e.g. when plotting spatial data using spplot from the sp package. I think under the hood lattice is used.
With default rendering device:
With ragg as rendering device:
The text was updated successfully, but these errors were encountered: