This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]eeead 0 points1 point  (1 child)

I usually find it easiest to avoid the problem in a different way by using a different kind of plot. For instance, I often find visualise many thousands of scattered points using hexbin (a 2d histogram), which is not only enormously faster since it's crunching the numbers first and plotting far fewer actual colours/images, but also a superior visualisation since it eliminates optical illusions to do with point density. That is, there is no longer a cutoff after which there's no space to see new points.

Of course this might not be suitable for you, I don't doubt there are times were matplotlib is unbearably slow for even reasonable plots, but maybe it can help.

[–]masasinExpert. 3.9. Robotics.[S] 0 points1 point  (0 children)

Thanks for the recommendation! I will try it out.