Skip to content

Pulling off legend (with opts(keep='legend_box')) appears to be broken in 0.9 #523

Closed
@metasoarous

Description

@metasoarous

I had the functionality described in this wiki post

https://github.com/hadley/ggplot2/wiki/Share-a-legend-between-two-ggplot2-graphs

set up and running beautifully with ggplot2 version 0.8.9. After our system underwent some maintenance, we had to reinstall all of our packages and ggplot2 0.9 was installed. As it turns out, this broke the functionality of opts(keep='legend_box'). Adding that option did not remove plot, as expected. After reinstalling 0.8.9, we got back the desired behavior.

Is there a new way of doing this, or is this a bug? If the former is the case, could the above wiki post be updated?

Thanks, and best regards

Chris

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions