I finally managed to interrupt my hexbin distribution schedule into something almost beautiful.
import seaborn as sns x = req.apply_clicks y = req.reqs_wordcount sns.jointplot(x, y, kind="hex", color="#5d5d60", joint_kws={'gridsize':40, 'bins':'log'})

But I hope to draw a regression line on top of it and I canβt figure out how to do it. For example, the regression line seems to occupy a marginal graph when I add regplot to the code:
x = req.apply_clicks y = req.reqs_wordcount z = sns.jointplot(x, y, kind="hex", color="#5d5d60", joint_kws={'gridsize':40, 'bins':'log'}) sns.regplot(x, y, data=z, color="#5d5d60", scatter=False)

How to include a regression line in the body of the chart?
source share