Skip to content

ggplot2 ≥ 3.4.0 deprecation warnings due to size aesthetic in plotting code #3738

@S1DDHEY

Description

@S1DDHEY

Description

With ggplot2 version 3.4.0 and later, the size aesthetic for line geoms has been deprecated in favor of linewidth.

When running PEcAn workflows (e.g. the uncertainty analysis demo), I came across this deprecation warnings. After searching the codebase, there appear to be multiple ggplot2 calls across different files that use size with line geoms.

Screenshot

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions