Data Plan Kernel Density Estimation Python