Re: [matplotlib-devel] problem plotting log (works with 0.98.5.3)

2009-09-17 Thread Michael Droettboom
Good point. A test based on Sandro's example has been committed to SVN. Mike Andrew Straw wrote: > Michael Droettboom wrote: > >> Yes -- a bug was introduced where non-finite values were no longer being >> ignored by the data extents finder. This has now been fixed on the >> 0.99.x branch

Re: [matplotlib-devel] problem plotting log (works with 0.98.5.3)

2009-09-17 Thread Andrew Straw
Michael Droettboom wrote: > Yes -- a bug was introduced where non-finite values were no longer being > ignored by the data extents finder. This has now been fixed on the > 0.99.x branch (r7774) and the trunk. > Hi Mike, This would seem like something useful to write a test for to make sure t

Re: [matplotlib-devel] problem plotting log (works with 0.98.5.3)

2009-09-17 Thread Michael Droettboom
Yes -- a bug was introduced where non-finite values were no longer being ignored by the data extents finder. This has now been fixed on the 0.99.x branch (r7774) and the trunk. Mike Sandro Tosi wrote: > Hello, > with 0.99.{0, 1rc1} I have problem with this code: > > In [1]: import matplotlib.p

[matplotlib-devel] problem plotting log (works with 0.98.5.3)

2009-09-17 Thread Sandro Tosi
Hello, with 0.99.{0, 1rc1} I have problem with this code: In [1]: import matplotlib.pyplot as plt In [2]: import numpy as np In [3]: x = np.arange(0., np.e, 0.01) In [4]: y = np.log(x) In [5]: print y[:2], y[-2:] [ -Inf -4.60517019] [ 0.99325177 0.99694863] In [6]: plt.plot(x, y); In