Logarithmic plots are useful when the data has a wide range of values. matplotlib has the functions semilogx() (logarithmic x axis), semilogy() (logarithmic y axis), and loglog() (x and y axes logarithmic).
matplotlib
semilogx()
x
semilogy()
y
loglog()