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

MacOSX backend throws exception when plotting a quadmesh #1006

Closed
pmarshwx opened this issue Jul 11, 2012 · 3 comments
Closed

MacOSX backend throws exception when plotting a quadmesh #1006

pmarshwx opened this issue Jul 11, 2012 · 3 comments

Comments

@pmarshwx
Copy link

When trying to call plt.show() to display a generate QuadMesh using the MacOSX backend, an error complaining about "TypeError: only length-1 arrays can be converted to Python scalars" is generated. The following gist contains two files: 1) a self contained example that will generate the error and 2) the Traceback generated. For completeness, the full hash of the commit I'm using (pulled early today) is found in the first line of the second file.

https://gist.github.com/3087990

I should add that switching to using plt.contourf() instead of pcolormesh does not error. This error does not occur when using a different backend.

@efiring
Copy link
Member

efiring commented Jul 11, 2012

This is a duplicate of #996, so I am closing it. I expect it will be taken care of within a week.

@efiring efiring closed this as completed Jul 11, 2012
@pmarshwx
Copy link
Author

Sorry for the duplicate issue; I looked under the OSX labels and didn't see it. Didn't realize that it hadn't been labeled.

@efiring
Copy link
Member

efiring commented Jul 11, 2012

On 2012/07/10 7:01 PM, Patrick Marsh wrote:

Sorry for the duplicate issue; I looked under the OSX labels and didn't see it. Didn't realize that it hadn't been labeled.

Good point; it never even occurred to me to apply a label. I have added
it now.


Reply to this email directly or view it on GitHub:
#1006 (comment)

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

2 participants