[MNT]: Deprecate hexbin marginals? · Issue #21353 · matplotlib/matplotlib · GitHub
Skip to content

[MNT]: Deprecate hexbin marginals? #21353

Description

@dstansby

Summary

hexbin() has the option to display 1D marginals along the x- and y-axes. This is a bit of an oddity within Matplotlib - we don't support automatic marginals for pcolormesh, imshow etc. In addition there are lots of possible issues with the current implementation (#21349, and the list at #18875), which are a maintenance burden.

I would like to propose deprecating and removing support for automatic marginals in hexbin. Instead we can provide an example showing how to add marginals on separate axes for a range of 2D plots, and/or point to higher level libraries that build upon Matplotlib that provide automatic marginal functionality.

Proposed fix

No response

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions