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
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:
> -----------------------------------------
>
> import matplotlib.pyplot as pl
> import numpy as np
>
> x = np.linspace(0.0,1.0,100)
>
> pl.semilogy(x,x**2)
> pl.axvline(x=0.5,ls='--',color='k')
> pl.show()
> #pl.savefig("saved_image.png")
> -----------------------------------------
>
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
--
View this message in context:
http://www.nabble.com/Bug-saving-semilogy-plots-with-a-axvline-tp20565983p20582273.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users