SourceForge logo
SourceForge logo
Menu

[matplotlib-devel] Re: small backend change

From: Jeremy O'D. <je...@o-...> - 2004年02月11日 19:57:52
On Tuesday 10 February 2004 9:30 pm, John Hunter wrote:
> Unfortunately Jeremy, there now appears to be a bug in wx. I can't
> tell if it was something I did or something that was there already,
> because with wx swallowing the exceptions, I can't find it! I also
> added a few more debug print messages to functions that don't have
> them already, but still couldn't track it down. Sorry for the
> trouble.
I have found the location of the error, but have not yet determined how the 
problem arises:
Basically, when savefig() is called by the script, the first draw_rectangle() 
call fails an assert gc.OK() statement. I have not determined why Python is 
not receiving the AssertException - my conjecture is that the call to gc.Ok() 
is causing an exception in the C++ code - I will probably have to use a debug 
version of the wx libraries and a debugger to verify this.
The stack frame when the exception is raised is:
__main__ #40
matplotlib.matlab.savefig #798
matplotlib.backends.backend_wx #812
matplotlib.artist.draw #86
matplotlib.figure._draw #65
matplotlib.artist.draw #86
matplotlib.patches._draw #76
matplotlib.patches._derived_draw #154
matplotlib.backends.backend_wx #403
I'll let you know how I get on...
Jeremy

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 によって変換されたページ (->オリジナル) /