I also apologise for my slow response for the same reason.
We have not implemented helper functions to draw 2d histograms, but I managed to get this working:
from matplotlib import pyplot as plt
from rootpy.plotting import Hist2D
import numpy as np
a = Hist2D(100, -3, 3, 100, -3, 3)
a.fill_array(np.random.randn(1000000, 2))
X, Y = np.meshgrid(list(a.x()), list(a.y()))
x = X.ravel()
y = Y.ravel()
z = np.array(a.z()).ravel()
plt.hist2d(x, y, weights=z, bins=(list(a.xedges()), list(a.yedges())))
"""
plt.imshow(a.z(),
extent=[a.xedges(0), a.xedges(-1),
a.yedges(0), a.xedges(-1)],
interpolation='nearest')
"""
plt.colorbar()
plt.show()
So there are two options: use imshow() or hist2d(). We are debugging an issue with ROOT's GUI not playing nice with matplotlib's so you might see a segmentation fault if you use both GUIs together interactively: