When I use scatter plot use large amount of points, the speed is very slow
n_samples = 43000
np.random.seed(0)
shifted_gaussian = np.random.randn(n_samples, 2) + np.array([20, 20])
%%time
df=pd.DataFrame(shifted_gaussian, columns=['x','y'])
df.plot(kind='scatter', x='x', y='y', alpha=0.35)
plt.gca().set_aspect('equal')
After searaching for a while, I found Speeding up matplotlib scatter plots, but it is three years from now. I want to know,
If this is still true to everyone? (I didn't realized the speed problem until recently. Maybe I made some code mistakes.)
Is there any way to speed it up? or any workaround, different plot libraries?