Closed
Description
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