|
From: João L. S. <js...@fc...> - 2008-11-18 18:55:16
|
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
|