Hexagonal binned plot hexbin is a 2D histogram plot, in which the bins are hexagons and the color represents the number of data points within each bin. import matplotlib.pyplot as plt import numpy as np # Fixing random state for reproducibility np.random