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
Continuous color scale with ggplot2 #132
Comments
I'm pretty sure this is caused by @yihui: I'm not really familiar with recording and replaying of plots. The tikzDevice creates an auxiliary PNG file for each raster grob, through the C function |
Sorry I have no idea here. |
- Use `png::writePNG()` to output raster images to avoid reentrancy issues with capturing and playback and to reduce size of raster images. The `tikzRasterResolution` option is now obsolete (#132).
Features --- - Use `png::writePNG()` to output raster images to avoid reentrancy issues with capturing and playback and to reduce size of raster images. The `tikzRasterResolution` option is now obsolete (#132). Bug Fixes --- - The setting `sanitize = TRUE` works even if the `tikzDevice` package is not attached to the search path (#129). Internal --- - Update `ggplot2` results to account for minor differences due to the package's update (#131). - Add test for combined rotation and reflection of raster images. - Add tracing code to the beginning of almost every C function.
raises:
The error is gone when
color = color
is omitted or replaced bycolor = factor(color)
. It's crucial to have a device open to reproduce this issue (can be tikz, png, pdf, jpeg, doesn't matter). On the other hand, if the current device isn't tikz, the issue cannot be reproduced.EDIT: If I return immediately from
TikZ_Raster()
, the error doesn't occur. Will investigate.The text was updated successfully, but these errors were encountered: