two minor logspace problem

Hello,

it seems that there are two minor bugs in matplotlib concerning the logspace function.

1) line 93 of mlab.py:
def logspace(xmin,xmax,N):
   return exp(linspace(log(xmin), log(xmax),Nh))
- should be N or Nh in the both lines;

2) pylab does not import logspace at all:
line 293 of pylab.py:
from matplotlib.mlab import linspace, ...
- should be
from matplotlib.mlab import linspace, logspace, ...

I have just found matplotlib, and it seems to me that it is very good and promising product, albeit not yet as polished as octave/gnuplot pair. The mathtext feature which eliminates all hassles with psfrag is especially useful.

Best wishes,
Farid.

As a long-time user of gnuplot, I find that in certain areas matplotlib
is more polished.

Ga�l

···

On Fri, Aug 31, 2007 at 01:22:54PM +0400, Farid Khalili wrote:

I have just found matplotlib, and it seems to me that it is very good
and promising product, albeit not yet as polished as octave/gnuplot
pair.