Hexbin mincnt parameter docstring should say "more than or equal to" not "more than" · Issue #16865 · matplotlib/matplotlib · GitHub
Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions