John Hunter schrieb:
>> Second, I am using interactive mode and WXAgg in windows. So my startup
>> script does this:
>> import matplotlib as _mpl
>> _mpl.use('WXAgg')
>> import pylab as _p
>> _p.ion()
>> Before, when I would then type
>> gca().plot([1,2,1])
>>
>
> I would not expect a draw here, since draw only happens on pylab
> commands. Eg _p.plot should trigger a draw, but not gca().plot
> because the latter is an axes method. I don't really know why it
> would have worked before, if it did. I would be pretty surprised if
> it did, actually.
>
Older versions of the wx and wxagg backend indeed unnecessarily
rerendered the figure (triggered a draw) very often - with every paint
event. This has been fixed.
Gregor
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel