astrofrog / mpl-scatter-density

:zap: Fast scatter density plots for Matplotlib :zap:
BSD 2-Clause "Simplified" License
498 stars 25 forks source link

Kernel died, restarting #21

Open xuanvinhilb opened 6 years ago

xuanvinhilb commented 6 years ago

Hi all,

I encounter a problem where I scattering around 6 millions points (case 1) then the error happens: Kernel died, restarting. If I only plot the subset of 6 millions points (let say 1 million points), then it works fine. However, it works well for another case (case 2) of the same number of points. The problem is always on case 1. No problem on case 2. Do you have any idea to fix it?

Thanks,

xuanvinhilb commented 6 years ago

I attach the variables. You can load variables "a", "b", "d". Then you can plot by: ax.scatter_density(a,b, c = d). In this case, I only plot 150 points. The error will happen on Spyder. If you are using cmd, then no figure will be generated.

Shell-extraction.zip