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 pyreport examples is attached and makes a beautiful plot and
is also attached.)
-Andrew
err (1.98 KB)
mpl-test.py (717 Bytes)
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 modified from Ga�l
Varoquaux's pyreport examples is attached and makes a beautiful plot and
is also attached.)
The problem is most likely quite general, so the solution should be similarly general. I suspect there is no place in mpl where a complex input makes sense.
Eric