Skip to content

[Doc]: FancyBboxPatch shows a wrong type hint for xy parameter. #26222

Closed
@Geometrein

Description

@Geometrein

Documentation Link

https://matplotlib.org/stable/api/_as_gen/matplotlib.patches.FancyBboxPatch.html

Problem

FancyBboxPatch shows float as the suggested type for xy parameter. However 'xy' should be a tuple of two floats. Seem like it is caused by missing parenthesis.

Suggested improvement

Change the type hint form xy: float, float to xy: (float, float)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions