Skip to content

view_step_manual() ignores wrap = FALSE #499

Description

@bbcuffer

Code below is supposed to zoom into upper half of x-axis and then stop (wrap = FALSE).

But resultant gif zooms in and then zooms back out.

Note that it doesn't happen if pause_first is set to TRUE. But that results in a different behaviour (#498).

ggplot(iris, aes(Petal.Length, Petal.Width, colour = Species)) +
     geom_point() +
     view_step_manual(wrap = FALSE,
                      #  pause_first = TRUE, 
                        xmin = c(1, 4),
                        xmax = c(7, 7),
                        ymin = 0,
                        ymax = 2.5
                        )

filea6144971a1cb

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions