Skip to content

Instantly share code, notes, and snippets.

import numpy as np
from matplotlib import pyplot as plt
import matplotlib as mpl
f, ax = plt.subplots()
x = np.geomspace(.01, 100)
y = x
ax.plot(x, y)
ax.set_xscale('log')