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
I have the same issue. It worked fine for a week and suddenly I get this error. Updated all my packages and installed the development version of ggtext, but nothing helps... The weirdest thing is that it only with some plots and not others, even though I use the exact same set up.
R version 4.2.0
ggtext 0.1.1
gridtext 0.1.4.9000
armack
added a commit
to armack/pdallele
that referenced
this issue
Jun 7, 2023
Revert to standard `element_text()` as `ggtext::element_markdown()` in `legend.text` can cause `Error in grid.Call.graphics(C_setviewport, vp, TRUE) : non-finite location and/or size for viewport` when combined with a color scale (potentially only with geom_point())
See wilkelab/ggtext#33
Error in grid.Call.graphics(C_setviewport, vp, TRUE) : non-finite location and/or size for viewport
and the figure comes without legend text:
The strange thing is that if I keep rerunning the code time after time, sometimes the plot can be rendered without error.
Versions:
The text was updated successfully, but these errors were encountered: