ENH: pandas.plotting.scatter_matrix to support plotting function hexbin in addition to scatter #56887
Open
1 of 3 tasks
Labels
Enhancement
Needs Triage
Issue that has not been reviewed by a pandas team member
Visualization
plotting
Feature Type
Adding new functionality to pandas
Changing existing functionality in pandas
Removing existing functionality in pandas
Problem Description
I wish I could use the scatter_matrix function to make hexbin plots
Feature Description
Add a new parameter
nondiagonal
toscatter_matrix
to supporthexbin
instead ofscatter
Alternative Solutions
Seaborn pairplot using
kind = hist
. Link: https://seaborn.pydata.org/generated/seaborn.pairplot.htmlAdditional Context
The general consensus on
pandas.plotting.scatter_matrix
is that "seaborn does this better" (ref 1, ref 2). Nevertheless, the functionality was kept, and the changes to support this feature are a few lines of code.The quality of the plots can improve significantly. Here's an example with scatter:
Same example with hexbin:
The text was updated successfully, but these errors were encountered: