We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e82fa8 commit d33877cCopy full SHA for d33877c
examples/pylab_examples/hist2d_log_demo.py
@@ -0,0 +1,10 @@
1
+from matplotlib.colors import LogNorm
2
+from pylab import *
3
+
4
+#normal distribution center at x=0 and y=5
5
+x = randn(100000)
6
+y = randn(100000)+5
7
8
+hist2d(x, y, bins=40, norm=LogNorm())
9
+colorbar()
10
+show()
0 commit comments