Skip to content

Instantly share code, notes, and snippets.

@paulfurber
Created February 29, 2020 12:46
Show Gist options
  • Save paulfurber/ddc00b93e0d79787bf1fbd569840248f to your computer and use it in GitHub Desktop.
Save paulfurber/ddc00b93e0d79787bf1fbd569840248f to your computer and use it in GitHub Desktop.
import matplotlib
matplotlib.use("TkAgg")
import matplotlib.pyplot as plt
import numpy as np
x = np.arange(0, 10, 0.1)
y = x*x
plt.yscale(value="log")
plt.plot(x,y)
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment