Skip to content

API: decide what to return from plotting functions #4020

Closed
@cpcloud

Description

@cpcloud

most plotting functions return an Artist instance whereas a few return something else. for example, boxplot returns a dict and scatter returns a tuple. they should at least return a matplotlib.artist.Artist subclass (usually either a Figure or Axes) or an array of Artists.

this has been brought up before but it would be nice to make a decision here.

mailing list thread and #3474.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions