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

bug in matplotlib 0.87.7: TypeError: only length-1 arrays can be converted to Python scalars. #90

Closed
wd15 opened this issue Sep 19, 2014 · 1 comment
Labels

Comments

@wd15
Copy link
Contributor

wd15 commented Sep 19, 2014

The error,

TypeError: only length-1 arrays can be converted to Python scalars.

is raised when running anything in matplotlib 0.87.7. For example running

>>> from pylab import *
>>> pylab.plot((0,1,2))

throws an error. A fix for this problem is [http://article.gmane.org/gmane.comp.python.matplotlib.general/7308 here].

Imported from trac ticket #105, created by wd15 on 11-17-2006 at 11:44, last modified: 01-29-2007 at 14:39

@guyer
Copy link
Member

guyer commented Sep 19, 2014

According to the link, this is not an issue when using numpy.

Trac comment by guyer on 01-29-2007 at 14:39

@wd15 wd15 closed this as completed Sep 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants