The problem is that the LogLocator expects the data to be
non-log-transformed, since it is providing the log transform itself. It
actually is doing the right thing since the data passed to plot ranges
from 1 to 4.
As a workaround, you can manually set the ticks with set_xticks,
Hello All,
I have data that I need to apply log-based transformations to followed
by plotting. Ideally I would like the plot to display the nicely
formatted log-scale major/minor ticks as when setting xscale('log').
Of course, doing that applies the default log transformation to
already