SpanSelector and figure.subplots_adjust

A challenge to the community! :wink: Run the current

    > cursor.py example with the TkAgg backend. (blitting
    > should be on) i.e. python cursor.py -dTkAgg

    > Why does the blitting not update the entire axis? Any
    > help on this is greatly appreciated.

THere was a flipy offset needed in _tkagg.cpp

      int srcheight = (int)aggRenderer->get_height();
      //...
      desty = srcheight-(int)t;

I just commited this to CVS -- take it for a test drive.

Checking in src/_tkagg.cpp;
/cvsroot/matplotlib/matplotlib/src/_tkagg.cpp,v <-- _tkagg.cpp
new revision: 1.10; previous revision: 1.9

JDH

Awesome, thanks! Out of curiousity... did you figure this out
visually or by comparing with something?

- Charlie

···

On 11/18/05, John Hunter <jdhunter@...5...> wrote:

    > A challenge to the community! :wink: Run the current
    > cursor.py example with the TkAgg backend. (blitting
    > should be on) i.e. python cursor.py -dTkAgg

    > Why does the blitting not update the entire axis? Any
    > help on this is greatly appreciated.

THere was a flipy offset needed in _tkagg.cpp

      int srcheight = (int)aggRenderer->get_height();
      //...
      desty = srcheight-(int)t;

I just commited this to CVS -- take it for a test drive.

Checking in src/_tkagg.cpp;
/cvsroot/matplotlib/matplotlib/src/_tkagg.cpp,v <-- _tkagg.cpp
new revision: 1.10; previous revision: 1.9

JDH