Log plot in base b?

Hi,

What would be the easiest way, in matplotlib, to achieve log scaling, along the x axis, say, in a base other than 10? I see in axes.py that semilog[xy] have LOG10 hardwired. I am using matplotlib 0.60.2.

Thanks,
Dominique

Oups, sorry, sent an older version of my modified files...
Here they are...
Also, this works of course for both x and y scales, who can have
different bases and subs...
Best regards, Greg.

axes.py (73.6 KB)

ticker.py (26.9 KB)