How to create a density plot in matplotlib? How to create a density plot in matplotlib? numpy numpy