Skip to content

Wrong argument type for figsize in documentation for figure #13208

Closed
@monocongo

Description

@monocongo

Bug report

Bug summary

The documentation for matplotlib.pyplot.figure shows the wrong type for the figsize argument's tuple -- it is float but instead the docs say integer.

Actual outcome

figsize : tuple of integers, optional, default: None
width, height in inches. If not provided, defaults to rcParams["figure.figsize"] = [6.4, 4.8].

Expected outcome

figsize : tuple of floats, optional, default: None
width, height in inches. If not provided, defaults to rcParams["figure.figsize"] = [6.4, 4.8].

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions