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

<<inline: image.png>>

<<inline: saved_image.png>>

-------------------------------------------------------------------------
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
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to