A vertical line on the x axis of a semilogy plot will be in the correct position, but when saved with the save button of the toolbar it will be placed in an incorrect position, although savefig will do the right thing. Furthermore, zooming will not move the axvline correctly.
I can confirm and extend this bug report. The axvline also moves to the
wrong position on resizing the matplotlib display window (Mac OS X 10.5.5,
Python 2.5.1, Matplotlib 0.98.3).
Thanks
João Luís Silva-2 wrote:
···
Hi,
A vertical line on the x axis of a semilogy plot will be in the correct
position, but when saved with the save button of the toolbar it will be
placed in an incorrect position, although savefig will do the right
thing. Furthermore, zooming will not move the axvline correctly.
Matplotlib version: 0.98.3
Example script:
-----------------------------------------
image.png was saved using the toolbar, saved_image.png using savefig.
Regards,
João Silva
-------------------------------------------------------------------------
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-users mailing list
Matplotlib-users@lists.sourceforge.net matplotlib-users List Signup and Options
I can confirm and extend this bug report. The axvline also moves to the
wrong position on resizing the matplotlib display window (Mac OS X 10.5.5,
Python 2.5.1, Matplotlib 0.98.3).
Thanks
It looks like the transform for the line made by axvline is not getting updated when view limits change. The problem is found in svn, after the changes I made to axvline, as well as in 0.98.3. I can't track it down right now.
Eric
···
João Luís Silva-2 wrote:
Hi,
A vertical line on the x axis of a semilogy plot will be in the correct position, but when saved with the save button of the toolbar it will be placed in an incorrect position, although savefig will do the right thing. Furthermore, zooming will not move the axvline correctly.
Matplotlib version: 0.98.3
Example script:
-----------------------------------------
image.png was saved using the toolbar, saved_image.png using savefig.
Regards,
João Silva
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-users mailing list
Matplotlib-users@lists.sourceforge.net matplotlib-users List Signup and Options
Thanks for the bug report. Mike D. has fixed the problem in svn. (I had moved the discussion to matplotlib-devel; I am just reporting back to matplotlib-users so this thread can be closed.)
Eric
Eric Firing wrote:
···
wafels wrote:
Hello,
I can confirm and extend this bug report. The axvline also moves to the
wrong position on resizing the matplotlib display window (Mac OS X 10.5.5,
Python 2.5.1, Matplotlib 0.98.3).
Thanks
It looks like the transform for the line made by axvline is not getting updated when view limits change. The problem is found in svn, after the changes I made to axvline, as well as in 0.98.3. I can't track it down right now.
Eric
João Luís Silva-2 wrote:
Hi,
A vertical line on the x axis of a semilogy plot will be in the correct position, but when saved with the save button of the toolbar it will be placed in an incorrect position, although savefig will do the right thing. Furthermore, zooming will not move the axvline correctly.
Matplotlib version: 0.98.3
Example script:
-----------------------------------------