imshow partially hides axis lines

Hi, When using an imshow command whose extent is larger

    > than the axes limits, the axes are partially hidden by the
    > image. That is, one half of the axis line is hidden and the
    > other appears fine. I made sure that ax.set_axisbelow is
    > False, and I wish I knew what is causing this.

    > I attached a screenshot of the png file, please look at the
    > top axis.

    > Using version 0.86.2

This appears related to the bug described in this patch

http://sourceforge.net/tracker/index.php?func=detail&aid=1444703&group_id=80706&atid=560722

When I reviewed this patch, I was concerned because I thought the fix
unneccessarily broke the API in order to fix the problem. I haven't
heard yet from Toon Verstraelen, who wrote the patch, about this
issue. You may want to take a look at it and see if it fixes your
problem too.

JDH

The patch works partially, in the sense that the image is not plotted
over the axes, but it now drawn with contour lines that weren’t there
before. You’ll find the new figure attached.

Could this problem be solved without breaking axesPatch by a more comprehensive zorder mechanism or is it deeper than that ?

Thanks,

David

2006/3/20, John Hunter <jdhunter@…4…>:

test.png

···
> Hi, When using an imshow command whose extent is larger
> than the axes limits, the axes are partially hidden by the

> image. That is, one half of the axis line is hidden and the
> other appears fine. I made sure that ax.set_axisbelow is
> False, and I wish I knew what is causing this.


> I attached a screenshot of the png file, please look at the
> top axis.

> Using version 0.86.2

This appears related to the bug described in this patch


http://sourceforge.net/tracker/index.php?func=detail&aid=1444703&group_id=80706&atid=560722

When I reviewed this patch, I was concerned because I thought the fix
unneccessarily broke the API in order to fix the problem. I haven’t

heard yet from Toon Verstraelen, who wrote the patch, about this
issue. You may want to take a look at it and see if it fixes your
problem too.

JDH