SpanSelector and figure.subplots_adjust

First of all I just committed a generalized SpanSelector

    > widget that allows for a horizontal or vertical
    > selection.

    > I am running into a problem (and HorizontalSpanSelector
    > suffered from the same problem) that the rect is drawn
    > incorrectly if I adjust the sublot params. Any of the
    > MPL transforms experts know what I need to do?

I'm having trouble replicating your problem. I launch span_selector,
draw a rect, and it looks ok. Then I click on subplot params button,
change the limits, and repeat, and it still looks right to me, both on
the drawn rectangle and the limits printed by the callback.

Tested on gtkagg with cvs head.

JDH

I guess I should have mentioned TkAgg CVS. I didn't think the problem
would be specific to a backend, so I didn't try any others. Also,
when I have more than one subplot, nothing is drawn period.

- Charlie

···

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

    > First of all I just committed a generalized SpanSelector
    > widget that allows for a horizontal or vertical
    > selection.

    > I am running into a problem (and HorizontalSpanSelector
    > suffered from the same problem) that the rect is drawn
    > incorrectly if I adjust the sublot params. Any of the
    > MPL transforms experts know what I need to do?

I'm having trouble replicating your problem. I launch span_selector,
draw a rect, and it looks ok. Then I click on subplot params button,
change the limits, and repeat, and it still looks right to me, both on
the drawn rectangle and the limits printed by the callback.

Tested on gtkagg with cvs head.

JDH