Skip to content

Hexbin mincnt parameter docstring should say "more than or equal to" not "more than" #16865

@tdpetrou

Description

@tdpetrou

The current docstring for hexbin has this for mincnt:

mincnt : int > 0, default: *None*
    If not *None*, only display cells with more than *mincnt*
    number of points in the cell.

But, it really displays cells that have more than or equal to mincnt.

The int > 0 is also slightly confusing. It does accept 0 and negative numbers and can appear to relate to the 'more than' below when it does not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    API: consistencyConsistency of the matplotlib API, including naming, behavior, defaults, …

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions