Skip to content

transition_reveal() messes up geom_path() in version 1.0.8 #473

Description

@yutannihilation

Sorry for filing an issue with not-so-minimal reprex. It seems some behavior around transition_reveal() changed unexpectedly on version 1.0.8. As this is about transition_reveal(), this might be the same problem as #468, but I'm filing a new one in case this is a different problem.

Expected (generated with gganimate version 1.0.7)

Actual

library(string2path)
library(ggplot2)
library(gganimate)

d <- string2path("", "Noto Sans JP")
d <- tibble::rowid_to_column(d)

ggplot(d) +
  geom_path(aes(x, y, group = path_id),
            linewidth = 2, colour = "purple2", lineend = "round") +
  theme_minimal() +
  coord_equal() +
  transition_reveal(rowid)
#> `geom_path()`: Each group consists of only one observation.
#> ℹ Do you need to adjust the group aesthetic?
#> `geom_path()`: Each group consists of only one observation.
#> ℹ Do you need to adjust the group aesthetic?

Created on 2022-12-17 with reprex v2.0.2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions