Skip to content

ENH: Group some columns in subplots with DataFrame.plot #29688

Closed
@NicolasHug

Description

@NicolasHug

df.plot(subplots=True) will create one subplot per column. Is there a way to group multiple columns on the same subplot (and leave the rest of the column separated)?

I'd be happy to submit a PR if that's something you'd consider? In terms of API subplot could accept a list of tuples where each tuple indicates which columns should be grouped together.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions