Skip to content

Dev regression: recursive facet margins (with add = TRUE) #485

@grantmcdermott

Description

@grantmcdermott

I came across the following problem which seems to be related but it is not yet fixed by your previous commit. If I apply the following plot several times on the same device, the margins keep growing from plot to plot:

library("tinyplot")

tinyplot(bill_len ~ bill_dep, facet = ~ island, data = penguins)
tinyplot_add(type = "p")

tinyplot(bill_len ~ bill_dep, facet = ~ island, data = penguins)
tinyplot_add(type = "p")

tinyplot(bill_len ~ bill_dep, facet = ~ island, data = penguins)
tinyplot_add(type = "p")
Image Image Image

Originally posted by @zeileis in #477

GM: I haven't investigated yet, but I think it might be related to #481 Update: See below.

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