mpltools
mpltools copied to clipboard
Diamonds in Hinton diagrams instead of squares
Hinton diagrams are suddenly using diamonds instead of squares.
In [24]: mpltools.special.hinton(numpy.random.randn(10,10))

Using my own mpltools build from binstar, which can be found here (it just pulls the latest mpltools form github)
I'm running into the same issue. I ended up using http://wiki.scipy.org/Cookbook/Matplotlib/HintonDiagrams
It looks like the class I was using to draw the squares (RegularPolyCollection) is broken in matplotlib 1.4. I've filed an issue (https://github.com/matplotlib/matplotlib/issues/3574). Downgrading to 1.3 should work, if that's an option.