wx tweak

Hi,

I tweaked the wx backend so that the idle delay is 5 ms rather than 50 ms.
This allows the idle delay to kick in between mouse move events so
the graph will be updated during a drag operation.

Users can override the idle delay using:

    mpl.backends.backend_wx.IDLE_DELAY = n

- Paul

I don't know what the context is here, but if I understand it properly,
to be doing polling on a 5ms timescale is not very nice. This means a
wake up of the CPU every 5ms for this specific app. If everybody starts
doing that (I am looking at you, flash) my battery life goes down and my
laptop starts heating up.

Ga�l

···

On Mon, Sep 15, 2008 at 04:06:45PM -0400, Paul Kienzle wrote:

Hi,

I tweaked the wx backend so that the idle delay is 5 ms rather than 50 ms.
This allows the idle delay to kick in between mouse move events so
the graph will be updated during a drag operation.

Users can override the idle delay using:

    mpl.backends.backend_wx.IDLE_DELAY = n