SourceForge logo
SourceForge logo
Menu

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

From: Eric F. <ef...@ha...> - 2008年04月29日 02:37:18
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

View entire thread

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /