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
The below is the original plot posted by the OP. No matter what combination I tried with paste, expression, parse, substitute, inside or outside of {...} (thinking this might do the trick kind because of the glue syntax), it either correctly parsed the expression (as in below) or the changing label, but never both.
One workaround was suggested with the ggtext package which allows at least sub/supscript, but it fails with any more complex expression.
The text was updated successfully, but these errors were encountered:
tjebo
changed the title
Feature request - allow use of expressions in animated labels
Feature request - use of expressions in animated labels
Apr 26, 2021
Is this something under development? I'm running into the same limitation. Trying use plotmath functionality combined with reference to gganimate variables like {closest_state}. Thank you.
background - stackoverflow https://stackoverflow.com/questions/67089930/not-getting-the-desired-title-in-gganimate-animated-labels-with-expression
The below is the original plot posted by the OP. No matter what combination I tried with
paste
,expression
,parse
,substitute
, inside or outside of{...}
(thinking this might do the trick kind because of the glue syntax), it either correctly parsed the expression (as in below) or the changing label, but never both.Created on 2021-04-26 by the reprex package (v2.0.0)
One workaround was suggested with the
ggtext
package which allows at least sub/supscript, but it fails with any more complex expression.The text was updated successfully, but these errors were encountered: