[matplotlib-devel] Two same demos

2009-09-17 Thread Gökhan Sever
Apparently usetex_demo.py and dannys_example.py are same (matplotlib/examples). The latter might be deleted if no reference exist for that file. -- Gökhan -- Come build with us! The BlackBerry® Developer Conference in SF

Re: [matplotlib-devel] getp broken

2009-09-17 Thread Eric Firing
Jouni K. Seppänen wrote: > I just happened to type getp(gca()) on matplotlib 0.99.0, and the output > looks all garbled: Fixed in r7780 (branch) and 7781 (trunk). Eric > getp(gca()) > /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/axes.py:1269: >

[matplotlib-devel] automatic label setting in Axes.add_* methods?

2009-09-17 Thread Jae-Joon Lee
Hi, add_line method sets label to something like "_line1" if not set. def add_line(self, line): if not line.get_label(): line.set_label('_line%d'%len(self.lines)) add_collection sets label to "collection1" if not set. def add_collection(self, collection, autolim=True):

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] sampledoc: mark out prompts in ipython sessions?

2009-09-17 Thread Fernando Perez
2009/9/17 John Hunter : > On Thu, Sep 17, 2009 at 9:30 AM, Michael Droettboom wrote: >> Looks fine to me.  We were offering to commit this to matplotlib, or >> should I? > > You should let Fernando, so he can survive the annual purge of > developers no longer committing :-) Thanks :) I'll take c

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

Re: [matplotlib-devel] sampledoc: mark out prompts in ipython sessions?

2009-09-17 Thread John Hunter
On Thu, Sep 17, 2009 at 9:30 AM, Michael Droettboom wrote: > Looks fine to me.  We were offering to commit this to matplotlib, or > should I? You should let Fernando, so he can survive the annual purge of developers no longer committing :-) ---

Re: [matplotlib-devel] sampledoc: mark out prompts in ipython sessions?

2009-09-17 Thread Michael Droettboom
Looks fine to me. We were offering to commit this to matplotlib, or should I? Mike Fernando Perez wrote: > Howdy, > > this fixes the ipython console sphinx extension to mark up output > prompts as well. Mind if I put it in? > > Thanks, > > f > > maqroll[sphinxext]> diff -u ipython_console_high

[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