Hi, All,

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.


I submitted an issue to the issue tracker, which can be found here: 
https://github.com/matplotlib/matplotlib/issues/1006






Patrick



---
Patrick Marsh
Ph.D. Candidate / Liaison to the HWT
School of Meteorology / University of Oklahoma
Cooperative Institute for Mesoscale Meteorological Studies
National Severe Storms Laboratory
http://www.patricktmarsh.com


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to