8000 Hexbin default edgecolors kwarg is misnamed · Issue #7185 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Hexbin default edgecolors kwarg is misnamed #7185

Description

@efiring

Hexbin has a default 'edgecolors' kwarg value of 'none', which it internally translates to 'face'. This is highly confusing and inconsistent, and it blocks the user from specifying 'none'. Granted, the 'none' value may be undesirable because of patch boundary artifacts, but it should not be interpreted as a completely different value.
The 'face' value is used to prevent artifacts by adding boundary lines. hexbin sets the default 'linewidths' to 1, which is probably much larger than it needs to be for this purpose, resulting in prominent artifacts when the number of hexagons is large.

Metadata

Metadata

Assignees

No one assigned

    Labels

    API: consistencyDifficulty: Easyhttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issues

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0