Re: [matplotlib-devel] imshow() gives nearly inscrutable error message on complex arrays

2008-04-28 Thread Eric Firing
Andrew Straw wrote: > Hi all, > > I just discovered that attempting to plot a complex array using imshow() > results in a not-very-helpful traceback (attached). Would it be worth > catching this on the actual call to imshow() and raising a more > transparent error? (The test script, slightly modif

[matplotlib-devel] imshow() gives nearly inscrutable error message on complex arrays

2008-04-28 Thread Andrew Straw
Hi all, I just discovered that attempting to plot a complex array using imshow() results in a not-very-helpful traceback (attached). Would it be worth catching this on the actual call to imshow() and raising a more transparent error? (The test script, slightly modified from Gaƫl Varoquaux's pyrepo