log base 2 plots

I've written a python gui to matplotlib which allows the user to plot either cartesian, semi-log, or log-log plots. Log plots can be generated for typical base values except for base 2. Is this a bug, or is there some reason that matplotlib does not do log plots using base 2?

Can you post an example which shows your problem? The following works for me:

  In [14]: x, y = np.random.rand(2, 100)

  In [15]: loglog(x, y, basex=2)
  Out[15]: [<matplotlib.lines.Line2D object at 0x11a1a2d0>]

JDH

···

On Tue, Jul 21, 2009 at 3:32 PM, Barnette, Daniel W<dwbarne@...176...> wrote:

I've written a python gui to matplotlib which allows the user to plot either cartesian, semi-log, or log-log plots. Log plots can be generated for typical base values except for base 2. Is this a bug, or is there some reason that matplotlib does not do log plots using base 2?