Skip to content

[Doc]: axhspan and axvspan now return Rectangles, not Polygons. #28417

Closed
@komoto48g

Description

@komoto48g

Documentation Link

https://matplotlib.org/devdocs/api/_as_gen/matplotlib.axes.Axes.axvspan.html#matplotlib.axes.Axes.axvspan

Problem

From 3.9.0 axhspan and axvspan now return Rectangles, not Polygons.

Suggested improvement

The return value should be Rectangle.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocumentationGood first issueOpen a pull request against these issues if there are no active ones!

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions