Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Diamonds in Hinton diagrams instead of squares #23

Open
marcusps opened this issue Sep 17, 2014 · 2 comments
Open

Diamonds in Hinton diagrams instead of squares #23

marcusps opened this issue Sep 17, 2014 · 2 comments

Comments

@marcusps
Copy link
Contributor

Hinton diagrams are suddenly using diamonds instead of squares.

In [24]: mpltools.special.hinton(numpy.random.randn(10,10))

image

Using my own mpltools build from binstar, which can be found here (it just pulls the latest mpltools form github)

@jaanli
Copy link

jaanli commented Sep 27, 2014

I'm running into the same issue. I ended up using http://wiki.scipy.org/Cookbook/Matplotlib/HintonDiagrams

@tonysyu
Copy link
Owner

tonysyu commented Sep 27, 2014

It looks like the class I was using to draw the squares (RegularPolyCollection) is broken in matplotlib 1.4. I've filed an issue (matplotlib/matplotlib#3574). Downgrading to 1.3 should work, if that's an option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants