Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

Histogram 2d contour using different density weights

Is it possible to add weight to each x,y point that is used to generate the 2d Density Heatmap ?
So the x,y point weight is used for the generation of the histogram2dcontour heatmap.

Here’s how: https://codepen.io/etpinard/pen/XaRBwZ?editors=0010